[epiphany] "Search the web" should switch to the new tab
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] "Search the web" should switch to the new tab
- Date: Wed, 22 Nov 2017 14:46:40 +0000 (UTC)
commit 4a468cbcb8f1a9510814d7927ede82d1b98e79e0
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Wed Nov 22 08:45:22 2017 -0600
"Search the web" should switch to the new tab
https://bugzilla.gnome.org/show_bug.cgi?id=790693
src/popup-commands.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/popup-commands.c b/src/popup-commands.c
index de70976..798c30b 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -382,7 +382,7 @@ popup_cmd_search_selection (GSimpleAction *action,
search_term = g_variant_get_string (parameter, NULL);
search_url = ephy_embed_utils_autosearch_address (search_term);
new_embed = ephy_shell_new_tab (ephy_shell_get_default (),
- EPHY_WINDOW (user_data), embed, EPHY_NEW_TAB_APPEND_AFTER);
+ EPHY_WINDOW (user_data), embed, EPHY_NEW_TAB_APPEND_AFTER |
EPHY_NEW_TAB_JUMP);
ephy_web_view_load_url (ephy_embed_get_web_view (new_embed), search_url);
g_free (search_url);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]