Support Mouse Back and Forward buttons

This commit is contained in:
Christian Dywan 2008-12-08 23:45:38 +01:00
parent e20193a0b9
commit 426eb74c91

View file

@ -795,6 +795,12 @@ gtk_widget_button_press_event_cb (WebKitWebView* web_view,
} }
} }
break; break;
case 8:
midori_view_go_back (view);
return TRUE;
case 9:
midori_view_go_forward (view);
return TRUE;
} }
return FALSE; return FALSE;