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



commit 1c51b1c5e627df4c35b8c93ab71eec5d91c3274f
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 cafb198..21858bd 100644
--- a/src/gnome-klotski.vala
+++ b/src/gnome-klotski.vala
@@ -88,15 +88,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 ("win.help",          {                 "F1"  }); // TODO fix dance with
      // set_accels_for_action ("win.about",         {          "<Shift>F1"  }); // the shortcuts dialog
-        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]