diff options
author | Gustavo Noronha Silva <gns@gnome.org> | 2012-12-10 23:58:07 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <gns@gnome.org> | 2012-12-10 23:58:46 +0800 |
commit | e4df14ad36b61871fa55be8f5ede2998af3598d9 (patch) | |
tree | 0f6b693d2be217e70ef5a5bd74acbcd86354f583 /src | |
parent | 6a9b89629bce29293b9461c5098b803b61b84ea7 (diff) | |
download | gsoc2013-epiphany-e4df14ad36b61871fa55be8f5ede2998af3598d9.tar gsoc2013-epiphany-e4df14ad36b61871fa55be8f5ede2998af3598d9.tar.gz gsoc2013-epiphany-e4df14ad36b61871fa55be8f5ede2998af3598d9.tar.bz2 gsoc2013-epiphany-e4df14ad36b61871fa55be8f5ede2998af3598d9.tar.lz gsoc2013-epiphany-e4df14ad36b61871fa55be8f5ede2998af3598d9.tar.xz gsoc2013-epiphany-e4df14ad36b61871fa55be8f5ede2998af3598d9.tar.zst gsoc2013-epiphany-e4df14ad36b61871fa55be8f5ede2998af3598d9.zip |
Do not present the window when running in test mode
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-shell.c | 3 |
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; |