[Xfce4-commits] <midori:master> Enforce private/ app windows to be in normal state
Christian Dywan
noreply at xfce.org
Sat Mar 12 22:16:01 CET 2011
Updating branch refs/heads/master
to d02b234626515e50c91c510e765037cdae30ca82 (commit)
from 1bedc8a76cb95f6f37dc606a101136e127a25225 (commit)
commit d02b234626515e50c91c510e765037cdae30ca82
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Mar 12 21:27:58 2011 +0100
Enforce private/ app windows to be in normal state
midori/main.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index a08a4c0..365bee6 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);
More information about the Xfce4-commits
mailing list