[five-or-more/arnaudb/gtk3: 13/24] Revert "Use Control."
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/gtk3: 13/24] Revert "Use Control."
- Date: Thu, 22 Oct 2020 15:32:54 +0000 (UTC)
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"><Control>n</property>
+ <property name="accelerator"><Primary>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"><Control>question</property> <!-- TODO <Control>F1
-->
+ <property name="accelerator"><Primary>question</property> <!-- TODO <Primary>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"><Control>q</property>
+ <property name="accelerator"><Primary>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]