aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-06 02:16:07 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-06 02:16:07 +0800
commit7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf (patch)
tree024f538b4f1de7e7a41f8b76a40beb4604eef39e /src/ephy-window.c
parent686b095ac4f6590ae599b2c7d7d087683d09881f (diff)
downloadgsoc2013-epiphany-7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf.tar
gsoc2013-epiphany-7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf.tar.gz
gsoc2013-epiphany-7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf.tar.bz2
gsoc2013-epiphany-7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf.tar.lz
gsoc2013-epiphany-7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf.tar.xz
gsoc2013-epiphany-7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf.tar.zst
gsoc2013-epiphany-7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf.zip
Do not save when fullscreen
2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (save_window_chrome): Do not save when fullscreen
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);