Enforce private/ app windows to be in normal state

This commit is contained in:
Christian Dywan 2011-03-12 21:27:58 +01:00
parent 1bedc8a76c
commit d02b234626

View file

@ -1999,7 +1999,12 @@ main (int argc,
NULL);
midori_browser_set_action_visible (browser, "Menubar", FALSE);
}
g_object_set (settings, "show-panel", FALSE, NULL);
g_object_set (settings, "show-panel", FALSE,
"last-window-state", MIDORI_WINDOW_NORMAL,
#if WEBKIT_CHECK_VERSION (1, 1, 2)
"enable-private-browsing", TRUE,
#endif
NULL);
midori_browser_set_action_visible (browser, "Tools", FALSE);
midori_browser_set_action_visible (browser, "Panel", FALSE);
g_object_set (browser, "settings", settings, NULL);