[gnome-chess/arnaudb/wip/gtk4: 51/54] Use Control.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 51/54] Use Control.
- Date: Thu, 13 Aug 2020 15:34:52 +0000 (UTC)
commit 8f1d94251235b76f1051beae80d1ba2a242721ad
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Apr 8 20:05:19 2020 +0200
Use Control.
src/gnome-chess.vala | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 6540736..947243e 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -150,7 +150,7 @@ Copyright © 2015–2016 Sahil Sareen""";
add_action_entries (app_entries, this);
set_accels_for_action ("app.help", {"F1"});
- set_accels_for_action ("app.quit", {"<Primary>q", "<Primary>w"});
+ set_accels_for_action ("app.quit", {"<Control>q", "<Control>w"});
Builder builder = new Builder.from_resource ("/org/gnome/Chess/ui/gnome-chess.ui");
window = (ApplicationWindow) builder.get_object ("gnome_chess_app");
@@ -184,12 +184,12 @@ Copyright © 2015–2016 Sahil Sareen""";
update_pause_resume_button ();
window.add_action_entries (window_entries, this);
- set_accels_for_action ("win." + NEW_GAME_ACTION_NAME, { "<Primary>n" });
- set_accels_for_action ("win." + OPEN_GAME_ACTION_NAME, { "<Primary>o" });
- set_accels_for_action ("win." + SAVE_GAME_ACTION_NAME, { "<Primary>s" });
- set_accels_for_action ("win." + SAVE_GAME_AS_ACTION_NAME, { "<Shift><Primary>s" });
- set_accels_for_action ("win." + UNDO_MOVE_ACTION_NAME, { "<Primary>z" });
- set_accels_for_action ("win." + PAUSE_RESUME_ACTION_NAME, { "<Primary>p",
+ set_accels_for_action ("win." + NEW_GAME_ACTION_NAME, { "<Control>n" });
+ set_accels_for_action ("win." + OPEN_GAME_ACTION_NAME, { "<Control>o" });
+ set_accels_for_action ("win." + SAVE_GAME_ACTION_NAME, { "<Control>s" });
+ set_accels_for_action ("win." + SAVE_GAME_AS_ACTION_NAME, { "<Shift><Control>s" });
+ set_accels_for_action ("win." + UNDO_MOVE_ACTION_NAME, { "<Control>z" });
+ set_accels_for_action ("win." + PAUSE_RESUME_ACTION_NAME, { "<Control>p",
"Pause" });
add_window (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]