aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-07-21 04:50:20 +0800
committerXan Lopez <xan@gnome.org>2009-07-21 04:50:20 +0800
commit4085c2c058bb02bbf65a929075edf2dada6dec8a (patch)
treed39bab8a64964e8735d593e23a5e4bcdd3924570
parent588a77ba5c2488b7a3becd7caa8d408021cffff2 (diff)
downloadgsoc2013-epiphany-4085c2c058bb02bbf65a929075edf2dada6dec8a.tar
gsoc2013-epiphany-4085c2c058bb02bbf65a929075edf2dada6dec8a.tar.gz
gsoc2013-epiphany-4085c2c058bb02bbf65a929075edf2dada6dec8a.tar.bz2
gsoc2013-epiphany-4085c2c058bb02bbf65a929075edf2dada6dec8a.tar.lz
gsoc2013-epiphany-4085c2c058bb02bbf65a929075edf2dada6dec8a.tar.xz
gsoc2013-epiphany-4085c2c058bb02bbf65a929075edf2dada6dec8a.tar.zst
gsoc2013-epiphany-4085c2c058bb02bbf65a929075edf2dada6dec8a.zip
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)
-rw-r--r--src/ephy-navigation-action.c2
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);
}