aboutsummaryrefslogtreecommitdiffstats
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
parent686b095ac4f6590ae599b2c7d7d087683d09881f (diff)
downloadgsoc2013-epiphany-7da0ffe24f5f04d54932cc8bbca8d9d89f0efbbf.tar.gz
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
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-window.c10
2 files changed, 9 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f3c84eb8..4543ccc2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org>
+ * src/ephy-window.c: (save_window_chrome):
+
+ Do not save when fullscreen
+
+2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org>
+
* data/epiphany.schemas.in:
s/ask download/ask for download
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);