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