From d02b234626515e50c91c510e765037cdae30ca82 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 12 Mar 2011 21:27:58 +0100 Subject: [PATCH] Enforce private/ app windows to be in normal state --- midori/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); -- 2.39.5