Disable developer extras in web app mode

This commit is contained in:
Christian Dywan 2010-01-03 23:00:27 +01:00
parent bb9ec27402
commit 97d6137ea8

View file

@ -1777,9 +1777,10 @@ main (int argc,
"toolbar-items", "Back,Forward,ReloadStop,Location", "toolbar-items", "Back,Forward,ReloadStop,Location",
"homepage", NULL, "homepage", NULL,
"show-statusbar", TRUE, "show-statusbar", TRUE,
"enable-developer-extras", FALSE,
NULL); NULL);
g_object_unref (settings);
g_object_set (browser, "settings", settings, NULL); g_object_set (browser, "settings", settings, NULL);
g_object_unref (settings);
sokoke_set_config_dir ("/"); sokoke_set_config_dir ("/");
g_signal_connect (browser, "notify::load-status", g_signal_connect (browser, "notify::load-status",
G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL); G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL);