aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c5
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;
}
}