[gnome-2048/app-menu: 2/5] Add Ctrl-q shortcut for quitting.



commit ac91c99cfe1dec58bfc6393f288a0138fb97def8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Jan 8 15:33:18 2019 +0100

    Add Ctrl-q shortcut for quitting.

 src/application.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/application.vala b/src/application.vala
index 1577037..6c13f3f 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -134,6 +134,7 @@ public class Application : Gtk.Application
         _create_scores ();
 
         set_accels_for_action ("app.new-game",  {        "<Primary>n"   });
+        set_accels_for_action ("app.quit",      {        "<Primary>q"   });
         set_accels_for_action ("app.about",     { "<Shift><Primary>F1",
                                                          "<Primary>F1",
                                                            "<Shift>F1"  });


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