Enforce private/ app windows to be in normal state
This commit is contained in:
parent
1bedc8a76c
commit
d02b234626
1 changed files with 6 additions and 1 deletions
|
@ -1999,7 +1999,12 @@ main (int argc,
|
||||||
NULL);
|
NULL);
|
||||||
midori_browser_set_action_visible (browser, "Menubar", FALSE);
|
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, "Tools", FALSE);
|
||||||
midori_browser_set_action_visible (browser, "Panel", FALSE);
|
midori_browser_set_action_visible (browser, "Panel", FALSE);
|
||||||
g_object_set (browser, "settings", settings, NULL);
|
g_object_set (browser, "settings", settings, NULL);
|
||||||
|
|
Loading…
Reference in a new issue