summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2017-11-22 08:45:22 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2017-11-22 08:46:24 -0600
commit4a468cbcb8f1a9510814d7927ede82d1b98e79e0 (patch)
tree8b7e810615e6050fd1897d80b3dc12d273337a61
parent6c30ecd09a899fb792b990d454709eb2ed663b4e (diff)
downloadepiphany-4a468cbcb8f1a9510814d7927ede82d1b98e79e0.tar.gz
"Search the web" should switch to the new tab
https://bugzilla.gnome.org/show_bug.cgi?id=790693
-rw-r--r--src/popup-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index de70976ba..798c30ba8 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);
}