[gnome-sudoku/arnaudb/wip/gtk4] Use Control.



commit cd8a7fc817e9f1661cf171771e52ef39321adf61
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Sep 26 09:42:03 2020 +0200

    Use Control.

 src/gnome-sudoku.vala | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index f2cc416..34998a9 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -139,13 +139,13 @@ public class Sudoku : Gtk.Application
         });
         add_action (highlighter_action);
 
-        set_accels_for_action ("app.new-game", {"<Primary>n"});
-        set_accels_for_action ("app.print", {"<Primary>p"});
-        set_accels_for_action ("app.quit", {"<Primary>q"});
-        set_accels_for_action ("app.reset", {"<Primary>r"});
-        set_accels_for_action ("app.undo", {"<Primary>z"});
-        set_accels_for_action ("app.redo", {"<Primary><Shift>z"});
-        set_accels_for_action ("app.help", {"F1"});
+        set_accels_for_action ("app.new-game",  {        "<Control>n"   });
+        set_accels_for_action ("app.print",     {        "<Control>p"   });
+        set_accels_for_action ("app.quit",      {        "<Control>q"   });
+        set_accels_for_action ("app.reset",     {        "<Control>r"   });
+        set_accels_for_action ("app.undo",      {        "<Control>z"   });
+        set_accels_for_action ("app.redo",      { "<Shift><Control>z"   });
+        set_accels_for_action ("app.help",      {                 "F1"  });
 
         Window.set_default_icon_name ("org.gnome.Sudoku");
 


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