[gnome-tetravex/gnome-3-12] Restore accelerators for moving all pieces



commit 7e3f3228e6a551de28c251ce30be4c842216dce6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu May 29 19:58:04 2014 -0500

    Restore accelerators for moving all pieces
    
    Accidentally removed these in fdd3b2a96a8755ee503641e385dc93633eece188

 src/gnome-tetravex.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index 8d394d4..60e0667 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -64,6 +64,10 @@ public class Tetravex : Gtk.Application
         add_accelerator ("Pause", "app.pause", null);
         add_accelerator ("F1", "app.help", null);
         add_accelerator ("<Primary>q", "app.quit", null);
+        add_accelerator ("<Primary>Up", "app.move-up", null);
+        add_accelerator ("<Primary>Down", "app.move-down", null);
+        add_accelerator ("<Primary>Left", "app.move-left", null);
+        add_accelerator ("<Primary>Right", "app.move-right", null);
 
         var builder = new Gtk.Builder ();
         try


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