[epiphany/overview: 19/28] ephy-window: hide favicon when the overview is visible



commit fcf0e01bda39076173f20f0968984b7eb38d5651
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 e66e0cd..63fe1d8 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1433,6 +1433,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);
@@ -4094,6 +4095,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]