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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index b2510a45d..35325b8cf 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -746,7 +746,8 @@ ephy_shell_new_tab_full (EphyShell *shell,
ephy_gui_window_update_user_time (GTK_WIDGET (window), user_time);
- if ((flags & EPHY_NEW_TAB_DONT_SHOW_WINDOW) == 0) {
+ if ((flags & EPHY_NEW_TAB_DONT_SHOW_WINDOW) == 0 &&
+ ephy_embed_shell_get_mode (embed_shell) != EPHY_EMBED_SHELL_MODE_TEST) {
gtk_widget_show (GTK_WIDGET (window));
}