[swell-foop] Add missing keyboard accelerators (F1, Ctrl+Q)



commit a52497c17def9ddaa55e318e1cae2d5a399718fa
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sun Nov 4 01:12:07 2012 -0400

    Add missing keyboard accelerators (F1, Ctrl+Q)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687549

 src/swell-foop.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index 8f03f7e..8e15d1c 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -49,6 +49,8 @@ public class SwellFoop : Gtk.Application
 
         add_action_entries (action_entries, this);
         add_accelerator ("<Primary>n", "app.new-game", null);
+        add_accelerator ("F1", "app.help", null);
+        add_accelerator ("<Primary>q", "app.quit", null);
 
         /* Create the main window */
         window = new Gtk.ApplicationWindow (this);



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