From 7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 5 Jun 2003 18:16:07 +0000 Subject: Do not save when fullscreen 2003-06-05 Marco Pesenti Gritti * src/ephy-window.c: (save_window_chrome): Do not save when fullscreen --- ChangeLog | 6 ++++++ src/ephy-window.c | 10 +++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f3c84eb8..4543ccc2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-06-05 Marco Pesenti Gritti + + * src/ephy-window.c: (save_window_chrome): + + Do not save when fullscreen + 2003-06-05 Marco Pesenti Gritti * data/epiphany.schemas.in: 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); -- cgit v1.2.3