From: Christian Dywan Date: Mon, 8 Dec 2008 22:45:38 +0000 (+0100) Subject: Support Mouse Back and Forward buttons X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=426eb74c91500c4be0f67cd694ce1ae908676d78;p=midori Support Mouse Back and Forward buttons --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 9e03bdf3..1e5bbbd3 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -795,6 +795,12 @@ gtk_widget_button_press_event_cb (WebKitWebView* web_view, } } break; + case 8: + midori_view_go_back (view); + return TRUE; + case 9: + midori_view_go_forward (view); + return TRUE; } return FALSE;