navigate back and forward by <alt>+<left>/<right> keys

This commit is contained in:
Artem Anufrij 2017-08-11 20:13:26 +02:00
parent e132237e0d
commit 37ef2d3e6a

View file

@ -152,11 +152,15 @@ namespace Webpin {
case Gdk.Key.Left:
if (Gdk.ModifierType.MOD1_MASK in event.state) {
web_app.app_view.go_back ();
} else {
handled = false;
}
break;
case Gdk.Key.Right:
if (Gdk.ModifierType.MOD1_MASK in event.state) {
web_app.app_view.go_forward ();
} else {
handled = false;
}
break;
default: