aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-22 07:14:35 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-22 07:14:35 +0800
commit6cd10b366d5d541aca2e0394b41e2444ea93a586 (patch)
tree272771ced0600314bfcfbbc73b034c29339912d2
parent5a2c9060ea07649e9e07cb221d7588b9524e3ea6 (diff)
downloadgsoc2013-epiphany-6cd10b366d5d541aca2e0394b41e2444ea93a586.tar
gsoc2013-epiphany-6cd10b366d5d541aca2e0394b41e2444ea93a586.tar.gz
gsoc2013-epiphany-6cd10b366d5d541aca2e0394b41e2444ea93a586.tar.bz2
gsoc2013-epiphany-6cd10b366d5d541aca2e0394b41e2444ea93a586.tar.lz
gsoc2013-epiphany-6cd10b366d5d541aca2e0394b41e2444ea93a586.tar.xz
gsoc2013-epiphany-6cd10b366d5d541aca2e0394b41e2444ea93a586.tar.zst
gsoc2013-epiphany-6cd10b366d5d541aca2e0394b41e2444ea93a586.zip
Fix print preview toolbars
2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (update_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_set_chrome): Fix print preview toolbars
-rw-r--r--ChangeLog8
-rw-r--r--src/ephy-window.c11
2 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 3cb950a36..17bbcc8f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org>
+
+ * src/ephy-window.c: (update_chromes_visibility),
+ (ephy_window_fullscreen), (ephy_window_unfullscreen),
+ (ephy_window_set_chrome):
+
+ Fix print preview toolbars
+
2003-06-22 Christian Persch <chpe@cvs.gnome.org>
* data/epiphany.schemas.in:
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 1af5df479..803f3f8a1 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -478,9 +478,8 @@ exit_fullscreen_button_clicked_cb (GtkWidget *button, EphyWindow *window)
}
static void
-update_chromes_visibility (EphyWindow *window)
+update_chromes_visibility (EphyWindow *window, EmbedChromeMask flags)
{
- EmbedChromeMask flags = window->priv->chrome_mask;
gboolean fullscreen;
fullscreen = window->priv->is_fullscreen;
@@ -565,7 +564,7 @@ ephy_window_fullscreen (EphyWindow *window)
"size-changed", G_CALLBACK (size_changed_cb),
popup);
- update_chromes_visibility (window);
+ update_chromes_visibility (window, window->priv->chrome_mask);
}
static void
@@ -585,7 +584,7 @@ ephy_window_unfullscreen (EphyWindow *window)
gtk_widget_destroy (window->priv->exit_fullscreen_popup);
window->priv->exit_fullscreen_popup = NULL;
- update_chromes_visibility (window);
+ update_chromes_visibility (window, window->priv->chrome_mask);
}
static gboolean
@@ -1580,9 +1579,9 @@ ephy_window_set_chrome (EphyWindow *window,
translate_default_chrome (&flags);
}
- window->priv->chrome_mask = flags;
+ update_chromes_visibility (window, flags);
- update_chromes_visibility (window);
+ window->priv->chrome_mask = flags;
update_layout_toggles (window);