aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 69af5e7aa..72afd6df0 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -621,13 +621,9 @@ save_window_chrome (EphyWindow *window)
{
EmbedChromeMask flags = window->priv->chrome_mask;
- if (flags & EMBED_CHROME_OPENASPOPUP)
- {
- }
- else if (flags & EMBED_CHROME_PPVIEWTOOLBARON)
- {
- }
- else
+ if (!(flags & EMBED_CHROME_OPENASPOPUP) &&
+ !(flags & EMBED_CHROME_PPVIEWTOOLBARON) &&
+ !(flags & EMBED_CHROME_OPENASFULLSCREEN))
{
eel_gconf_set_boolean (CONF_WINDOWS_SHOW_BOOKMARKS_BAR,
flags & EMBED_CHROME_BOOKMARKSBARON);