[epiphany/overview-2: 8/9] Hide the overview when a link or new tab is opened



commit 9fa50b4884ac34cbe4320695f053365931a3cd6d
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Jan 25 18:26:02 2012 +0200

    Hide the overview when a link or new tab is opened
    
    https://bugzilla.gnome.org/show_bug.cgi?id=455173

 src/ephy-shell.c  |    3 +++
 src/ephy-window.c |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 8a29994..fb237e1 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -838,6 +838,9 @@ ephy_shell_new_tab_full (EphyShell *shell,
     }
   }
 
+  /* Make sure we're not in the overview mode. */
+  ephy_window_set_overview_mode (window, FALSE);
+
   return embed;
 }
 
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 5b01d52..c447999 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -593,6 +593,7 @@ ephy_window_open_link (EphyLink *link,
 	else
 	{
 		ephy_web_view_load_url (ephy_embed_get_web_view (embed), address);
+		ephy_window_set_overview_mode (window, FALSE);
 
 		if (address == NULL || address[0] == '\0' || g_str_equal (address, "about:blank"))
 		{



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