[devhelp] app: add Alt+Left/Right accelerators to navigate backward/forward



commit ab9947133b815d8603b678e5e319208eb8f63800
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Fri Mar 15 16:27:11 2013 +0100

    app: add Alt+Left/Right accelerators to navigate backward/forward

 src/dh-app.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index 590a92a..e0f37ce 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -284,6 +284,8 @@ setup_accelerators (DhApp *self)
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>t",     "win.new-tab",      NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "<Primary>w",     "win.close",        NULL);
         gtk_application_add_accelerator (GTK_APPLICATION (self), "F10",            "win.gear-menu",    NULL);
+        gtk_application_add_accelerator (GTK_APPLICATION (self), "<Alt>Right",     "win.go-forward",   NULL);
+        gtk_application_add_accelerator (GTK_APPLICATION (self), "<Alt>Left",      "win.go-back",      NULL);
 }
 
 /******************************************************************************/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]