aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 7fb19c985..29dcd90c3 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -831,7 +831,8 @@ ephy_shell_new_tab_full (EphyShell *shell,
}
}
- if (flags & EPHY_NEW_TAB_PRESENT_WINDOW)
+ if (flags & EPHY_NEW_TAB_PRESENT_WINDOW &&
+ ephy_embed_shell_get_mode (EPHY_EMBED_SHELL (embed_shell)) != EPHY_EMBED_SHELL_MODE_TEST)
gtk_window_present_with_time (GTK_WINDOW (window), user_time);
return embed;