navigate back and forward by <alt>+<left>/<right> keys
This commit is contained in:
parent
e132237e0d
commit
37ef2d3e6a
1 changed files with 4 additions and 0 deletions
|
@ -152,11 +152,15 @@ namespace Webpin {
|
||||||
case Gdk.Key.Left:
|
case Gdk.Key.Left:
|
||||||
if (Gdk.ModifierType.MOD1_MASK in event.state) {
|
if (Gdk.ModifierType.MOD1_MASK in event.state) {
|
||||||
web_app.app_view.go_back ();
|
web_app.app_view.go_back ();
|
||||||
|
} else {
|
||||||
|
handled = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Gdk.Key.Right:
|
case Gdk.Key.Right:
|
||||||
if (Gdk.ModifierType.MOD1_MASK in event.state) {
|
if (Gdk.ModifierType.MOD1_MASK in event.state) {
|
||||||
web_app.app_view.go_forward ();
|
web_app.app_view.go_forward ();
|
||||||
|
} else {
|
||||||
|
handled = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue