[epiphany] Do not present the window when running in test mode
- From: Gustavo Noronha Silva <gns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Do not present the window when running in test mode
- Date: Mon, 10 Dec 2012 15:58:54 +0000 (UTC)
commit e4df14ad36b61871fa55be8f5ede2998af3598d9
Author: Gustavo Noronha Silva <gns gnome org>
Date: Mon Dec 10 16:58:07 2012 +0100
Do not present the window when running in test mode
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 7fb19c9..29dcd90 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]