[swell-foop/arnaudb/wip/gtk4: 30/30] Use Control.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop/arnaudb/wip/gtk4: 30/30] Use Control.
- Date: Sat, 26 Sep 2020 10:19:32 +0000 (UTC)
commit d4555151f01a91ce6042d4c54b79b5f36123d82f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sat Sep 26 09:38:17 2020 +0200
Use Control.
data/ui/help-overlay.ui | 4 ++--
src/swell-foop.vala | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/help-overlay.ui b/data/ui/help-overlay.ui
index be352b9..aaa0a53 100644
--- a/data/ui/help-overlay.ui
+++ b/data/ui/help-overlay.ui
@@ -99,7 +99,7 @@
<object class="GtkShortcutsShortcut">
<!-- Translators: Ctrl-? shortcut description in the Keyboard Shortcuts dialog, section
"Generic": opens Shortcuts dialog -->
<property name="title" translatable="yes" context="shortcut window">Keyboard
shortcuts</property>
- <property name="accelerator"><Primary>question</property> <!-- TODO <Primary>F1
-->
+ <property name="accelerator"><Control>question</property> <!-- TODO <Control>F1
-->
</object>
</child>
<child>
@@ -121,7 +121,7 @@
<object class="GtkShortcutsShortcut">
<!-- Translators: Ctrl-Q shortcut description in the Keyboard Shortcuts dialog, section
"Generic": quits the application -->
<property name="title" translatable="yes" context="shortcut window">Quit</property>
- <property name="accelerator"><Primary>q</property>
+ <property name="accelerator"><Control>q</property>
</object>
</child>
</object>
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index a80dd73..b5ffa5c 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -67,10 +67,10 @@ public class SwellFoop : Gtk.Application
add_action_entries (action_entries, this);
set_accels_for_action ("app.help", { "F1" });
set_accels_for_action ("win.toggle-hamburger", { "F10" });
- set_accels_for_action ("win.new-game", { "<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.new-game", { "<Control>n" });
+ set_accels_for_action ("app.quit", { "<Control>q" });
+ set_accels_for_action ("win.undo", { "<Control>z" });
+ set_accels_for_action ("win.redo", { "<Shift><Control>z" });
/* Create the main window */
window = new SwellFoopWindow (this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]