aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-03-10 05:30:20 +0800
committerXan Lopez <xlopez@igalia.com>2011-03-10 05:30:20 +0800
commita30bb549386f7841c657a1a9d12f13495a1cdf2b (patch)
tree4000069d0d9faca80f55a82d2377f9653fb97f01 /src/ephy-window.c
parentb6746587a1936ece94803e3d04ff43ad8510575f (diff)
downloadgsoc2013-epiphany-a30bb549386f7841c657a1a9d12f13495a1cdf2b.tar
gsoc2013-epiphany-a30bb549386f7841c657a1a9d12f13495a1cdf2b.tar.gz
gsoc2013-epiphany-a30bb549386f7841c657a1a9d12f13495a1cdf2b.tar.bz2
gsoc2013-epiphany-a30bb549386f7841c657a1a9d12f13495a1cdf2b.tar.lz
gsoc2013-epiphany-a30bb549386f7841c657a1a9d12f13495a1cdf2b.tar.xz
gsoc2013-epiphany-a30bb549386f7841c657a1a9d12f13495a1cdf2b.tar.zst
gsoc2013-epiphany-a30bb549386f7841c657a1a9d12f13495a1cdf2b.zip
ephy-window: set visibility for fixed toolbar after setting the model
We need to do the same when leaving Fullscreen mode, otherwise the fixed toolbar remains visibile...
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 484d53811..55614e823 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -878,13 +878,13 @@ ephy_window_unfullscreen (EphyWindow *window)
destroy_fullscreen_popup (window);
- ephy_toolbar_set_show_leave_fullscreen (window->priv->toolbar, FALSE);
-
egg_editable_toolbar_set_model
(EGG_EDITABLE_TOOLBAR (window->priv->toolbar),
EGG_TOOLBARS_MODEL (
ephy_shell_get_toolbars_model (ephy_shell, FALSE)));
+ ephy_toolbar_set_show_leave_fullscreen (window->priv->toolbar, FALSE);
+
sync_chromes_visibility (window);
}