]> spindle.queued.net Git - midori/commitdiff
Support Mouse Back and Forward buttons
authorChristian Dywan <christian@twotoasts.de>
Mon, 8 Dec 2008 22:45:38 +0000 (23:45 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 8 Dec 2008 22:45:38 +0000 (23:45 +0100)
midori/midori-view.c

index 9e03bdf3fd1a5eb59f1f62fa0758624e1b035182..1e5bbbd36d69c2c1fdd915ac2b453cf43eef7e0a 100644 (file)
@@ -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;