From e4df14ad36b61871fa55be8f5ede2998af3598d9 Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Silva Date: Mon, 10 Dec 2012 16:58:07 +0100 Subject: Do not present the window when running in test mode --- src/ephy-shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3