diff options
ephy-navigation-action.c: fix middle-click on back/forward
We were getting a new embed but not its web view, which is what we use
to load the page. (bug #583440)
Diffstat (limited to 'src/ephy-navigation-action.c')
-rw-r--r-- | src/ephy-navigation-action.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-navigation-action.c b/src/ephy-navigation-action.c index c25e2bd11..fba4f246b 100644 --- a/src/ephy-navigation-action.c +++ b/src/ephy-navigation-action.c @@ -392,6 +392,7 @@ ephy_navigation_action_activate (GtkAction *gtk_action) "about:blank", NULL, EPHY_LINK_NEW_TAB); + web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed); } webkit_web_view_go_back (web_view); } @@ -403,6 +404,7 @@ ephy_navigation_action_activate (GtkAction *gtk_action) "about:blank", NULL, EPHY_LINK_NEW_TAB); + web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed); } webkit_web_view_go_forward (web_view); } |