[five-or-more/arnaudb/gtk3: 13/24] Revert "Use Control."




commit 7048a7db7b6d5e3dbbbafebc63a3253e11d0aa46
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Oct 22 17:28:40 2020 +0200

    Revert "Use Control."
    
    This reverts commit eb064ed93116758caf7722d9d9a8cf511d6606cf.

 data/ui/help-overlay.ui | 6 +++---
 src/main.vala           | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/ui/help-overlay.ui b/data/ui/help-overlay.ui
index a2cac10..f86bce4 100644
--- a/data/ui/help-overlay.ui
+++ b/data/ui/help-overlay.ui
@@ -29,7 +29,7 @@
               <object class="GtkShortcutsShortcut">
                 <!-- Translators: in the Keyboard Shortcuts window, section "New game"; action of the Ctrl-N 
shortcut -->
                 <property name="title" translatable="yes" context="shortcut window">Start a new 
game</property>
-                <property name="accelerator">&lt;Control&gt;n</property>
+                <property name="accelerator">&lt;Primary&gt;n</property>
               </object>
             </child>
           </object>
@@ -69,7 +69,7 @@
               <object class="GtkShortcutsShortcut">
                 <!-- Translators: in the Keyboard Shortcuts window, section "Generic"; action of the 
Ctrl-Shift-? shortcut; opens the Keyboard Shortcuts dialog -->
                 <property name="title" translatable="yes" context="shortcut window">Keyboard 
shortcuts</property>
-                <property name="accelerator">&lt;Control&gt;question</property> <!-- TODO &lt;Control&gt;F1 
-->
+                <property name="accelerator">&lt;Primary&gt;question</property> <!-- TODO &lt;Primary&gt;F1 
-->
               </object>
             </child>
             <child>
@@ -91,7 +91,7 @@
               <object class="GtkShortcutsShortcut">
                 <!-- Translators: in the Keyboard Shortcuts window, section "Generic"; action of the Ctrl-Q 
shortcut; quits the application -->
                 <property name="title" translatable="yes" context="shortcut window">Quit</property>
-                <property name="accelerator">&lt;Control&gt;q</property>
+                <property name="accelerator">&lt;Primary&gt;q</property>
               </object>
             </child>
           </object>
diff --git a/src/main.vala b/src/main.vala
index 3532771..4d910b6 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -66,8 +66,8 @@ private class FiveOrMoreApp: Gtk.Application
         add_window (window);
 
         add_action_entries (action_entries, this);
-        set_accels_for_action ("win.new-game",  { "<Control>n"  });
-        set_accels_for_action ("app.quit",      { "<Control>q"  });
+        set_accels_for_action ("win.new-game",  { "<Primary>n"  });
+        set_accels_for_action ("app.quit",      { "<Primary>q"  });
         set_accels_for_action ("app.help",      {          "F1" });
     }
 


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