From eedef109f733889645ec93317629d795fdfa55dd Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 2 Sep 2012 23:24:46 +0200 Subject: ephy-shell: consider the overview as a blank page We were only considering about:blank, but about:overview should be assumed to be "blank" as far as replacing it with actual pages is concerned. --- src/ephy-shell.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 56e0ed20b..5eb3dfc5e 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -754,8 +754,9 @@ ephy_shell_new_tab_full (EphyShell *shell, /* If the active embed is blank, use that to open the url and jump to it */ embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window)); if (embed != NULL) { - if (ephy_web_view_get_is_blank (ephy_embed_get_web_view (embed)) && - ephy_web_view_is_loading (ephy_embed_get_web_view (embed)) == FALSE) { + EphyWebView *view = ephy_embed_get_web_view (embed); + if ((ephy_web_view_get_is_blank (view) || ephy_embed_get_overview_mode (embed)) && + ephy_web_view_is_loading (view) == FALSE) { active_is_blank = TRUE; } } -- cgit v1.2.3