diff options
author | Xan Lopez <xan@igalia.com> | 2012-09-03 05:24:46 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-09-03 05:24:46 +0800 |
commit | eedef109f733889645ec93317629d795fdfa55dd (patch) | |
tree | cad4c22d9dea7d691dea7873650e0e278972bb33 | |
parent | 1a7cc74fffb2631b8bee4192cfac4ecf1b37830f (diff) | |
download | gsoc2013-epiphany-eedef109f733889645ec93317629d795fdfa55dd.tar.gz gsoc2013-epiphany-eedef109f733889645ec93317629d795fdfa55dd.tar.zst gsoc2013-epiphany-eedef109f733889645ec93317629d795fdfa55dd.zip |
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.
-rw-r--r-- | src/ephy-shell.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; } } |