[devhelp] accels: restore support for alt-right/alt-left to navigate history



commit ae2d52cabe5f0acc03951dd9201d1fa688b311c1
Author: Frédéric Péters <fpeters 0d be>
Date:   Mon Aug 10 07:20:46 2015 +0200

    accels: restore support for alt-right/alt-left to navigate history

 src/dh-app.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index c6c1aac..3c7186e 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -346,15 +346,11 @@ setup_accelerators (DhApp *self)
         gtk_application_set_accels_for_action (GTK_APPLICATION (self), "win.gear-menu", accels);
 
         accels[0] = "<Alt>Right";
+        accels[1] = "Forward";
         gtk_application_set_accels_for_action (GTK_APPLICATION (self), "win.go-forward", accels);
 
         accels[0] = "<Alt>Left";
-        gtk_application_set_accels_for_action (GTK_APPLICATION (self), "win.go-back", accels);
-
-        accels[0] = "Forward";
-        gtk_application_set_accels_for_action (GTK_APPLICATION (self), "win.go-forward", accels);
-
-        accels[0] = "Back";
+        accels[1] = "Back";
         gtk_application_set_accels_for_action (GTK_APPLICATION (self), "win.go-back", accels);
 
         accels[0] = "<Primary>k";


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