[gnome-taquin] Add Ctrl-q shortcut for quitting.



commit 7578a483fa7e72fd617345b2cb39e11eba849a3c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jan 7 17:38:57 2019 +0100

    Add Ctrl-q shortcut for quitting.

 src/taquin-main.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/taquin-main.vala b/src/taquin-main.vala
index 03b9e3a..3feb0ec 100644
--- a/src/taquin-main.vala
+++ b/src/taquin-main.vala
@@ -144,6 +144,7 @@ public class Taquin : Gtk.Application
         // TODO use UI file?
         set_accels_for_action ("win.new-game",          {        "<Primary>n"       });
         set_accels_for_action ("win.start-game",        { "<Shift><Primary>n"       });
+        set_accels_for_action ("app.quit",              {        "<Primary>q"       });
         set_accels_for_action ("win.undo",              {        "<Primary>z"       });
         set_accels_for_action ("win.redo",              { "<Shift><Primary>z"       });
         set_accels_for_action ("win.back",              {                 "Escape"  });


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