[gnome-klotski/arnaudb/wip/gtk4] Use <Control>.



commit 645b0e31304b06ba96f80b2e499413228369e72c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 7 08:11:25 2020 +0200

    Use <Control>.

 src/gnome-klotski.vala | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gnome-klotski.vala b/src/gnome-klotski.vala
index 7b90ff2..a0e0357 100644
--- a/src/gnome-klotski.vala
+++ b/src/gnome-klotski.vala
@@ -90,15 +90,15 @@ private class Klotski : Gtk.Application
         set_accels_for_action ("win.prev-pack",     {"Page_Up"});   // TODO the first/last one, click on a 
puzzle, and immediatly hit Up or Down arrows.
         set_accels_for_action ("win.next-pack",     {"Page_Down"}); // TODO that makes these keybindings 
sometimes act strangely, but they’re good.
 
-        set_accels_for_action ("win.start-game",    { "<Shift><Primary>n",
-                                                      "<Shift><Primary>r"   }); // TODO just <Primary>n/r?
+        set_accels_for_action ("win.start-game",    { "<Shift><Control>n",
+                                                      "<Shift><Control>r"   }); // TODO just <Control>n/r?
 
-        set_accels_for_action ("win.show-scores",   {        "<Primary>s",      // TODO that's a weird 
shortcut
-                                                      "<Shift><Primary>s"   });
+        set_accels_for_action ("win.show-scores",   {        "<Control>s",      // TODO that's a weird 
shortcut
+                                                      "<Shift><Control>s"   });
         set_accels_for_action ("app.help",          {                 "F1"  });
         set_accels_for_action ("app.about",         {          "<Shift>F1"  });
-        set_accels_for_action ("app.quit",          {        "<Primary>q",
-                                                      "<Shift><Primary>q"   });
+        set_accels_for_action ("app.quit",          {        "<Control>q",
+                                                      "<Shift><Control>q"   });
     }
 
     protected override void activate ()


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