[epiphany] ephy-window: set visibility for fixed toolbar after setting the model



commit a30bb549386f7841c657a1a9d12f13495a1cdf2b
Author: Xan Lopez <xlopez igalia com>
Date:   Wed Mar 9 22:30:20 2011 +0100

    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...

 src/ephy-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 484d538..55614e8 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);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]