[epiphany/overview: 24/30] ephy-window: hide favicon when the overview is visible



commit 120abcf6d7cc1daa87d0e58505738af6f9e28cd5
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed May 9 19:17:53 2012 +0300

    ephy-window: hide favicon when the overview is visible

 src/ephy-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index c5361bf..82f7e17 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1391,6 +1391,7 @@ sync_tab_address (EphyWebView *view,
 
 	address = ephy_web_view_get_address (view);
 	typed_address = ephy_web_view_get_typed_address (view);
+	g_object_set (window->priv->location_controller, "show-icon", TRUE, NULL);
 
 	ephy_window_set_location (window, typed_address ? typed_address : address);
 	ephy_find_toolbar_request_close (priv->find_toolbar);
@@ -3860,6 +3861,7 @@ ephy_window_prepare_for_overview (EphyWindow *window)
 
 	gtk_window_set_title (GTK_WINDOW (window), _(("Web overview")));
 	ephy_window_set_location (window, "");
+	g_object_set (window->priv->location_controller, "show-icon", FALSE, NULL);
 	_ephy_window_set_security_state (window, FALSE, STOCK_LOCK_INSECURE);
 	_ephy_window_action_set_favicon (window, NULL);
 	_ephy_window_set_navigation_flags (window, 0);



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