From: Christian Dywan Date: Sat, 12 Mar 2011 20:27:58 +0000 (+0100) Subject: Enforce private/ app windows to be in normal state X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02b234626515e50c91c510e765037cdae30ca82;p=midori Enforce private/ app windows to be in normal state --- diff --git a/midori/main.c b/midori/main.c index a08a4c0b..365bee6e 100644 --- a/midori/main.c +++ b/midori/main.c @@ -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);