[epiphany/gnome-3-26] "Search the web" should switch to the new tab



commit 2490d1e0112e76300a21343be6481d82a9b8672a
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 0432549..f52a596 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]