[epiphany/gnome-3-20] Revert "ephy-shell: Always focus the main window when loading tabs in Wayland"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-20] Revert "ephy-shell: Always focus the main window when loading tabs in Wayland"
- Date: Tue, 17 May 2016 16:55:39 +0000 (UTC)
commit 81e0751d3db4ce1d792bd7f099e8d4f4931aad3b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue May 17 11:55:29 2016 -0500
Revert "ephy-shell: Always focus the main window when loading tabs in Wayland"
This reverts commit 9889700e473988b86ce1fba9c683234af1c7e647.
src/ephy-shell.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 4ceb5d7..4543ca4 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -987,12 +987,8 @@ ephy_shell_open_uris_idle (OpenURIsData *data)
if (reusing_empty_tab || data->flags & EPHY_NEW_TAB_JUMP)
gtk_widget_grab_focus (GTK_WIDGET (embed));
- if (data->flags & EPHY_NEW_TAB_JUMP && ephy_embed_shell_get_mode (EPHY_EMBED_SHELL (data->shell)) !=
EPHY_EMBED_SHELL_MODE_TEST) {
- if (data->user_time)
- gtk_window_present_with_time (GTK_WINDOW (data->window), data->user_time);
- else
- gtk_window_present_with_time (GTK_WINDOW (data->window), time (NULL));
- }
+ if (data->flags & EPHY_NEW_TAB_JUMP && ephy_embed_shell_get_mode (EPHY_EMBED_SHELL (data->shell)) !=
EPHY_EMBED_SHELL_MODE_TEST)
+ gtk_window_present_with_time (GTK_WINDOW (data->window), data->user_time);
} else {
ephy_web_view_load_homepage (ephy_embed_get_web_view (embed));
ephy_window_activate_location (data->window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]