[epiphany/gnome-3-18] Focus the new tab when opening a page from history



commit 0350129b4ceb157e89e0af983ead96fc1c80c219
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Wed Feb 24 01:22:49 2016 +0200

    Focus the new tab when opening a page from history
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762381

 src/ephy-history-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 8521e26..8521322 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -386,7 +386,7 @@ open_selected (EphyHistoryWindow *self)
                EphyEmbed *embed;
 
                embed = ephy_shell_new_tab (ephy_shell_get_default (),
-                                           window, NULL, 0);
+                                           window, NULL, EPHY_NEW_TAB_JUMP);
                ephy_web_view_load_url (ephy_embed_get_web_view (embed), url->url);
        }
 
@@ -507,7 +507,7 @@ on_treeview_row_activated (GtkTreeView *view,
        g_return_if_fail (url != NULL);
 
        embed = ephy_shell_new_tab (ephy_shell_get_default (),
-                                   window, NULL, 0);
+                                   window, NULL, EPHY_NEW_TAB_JUMP);
        ephy_web_view_load_url (ephy_embed_get_web_view (embed), url->url);
        ephy_history_url_free (url);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]