[gnome-chess/arnaudb/wip/gtk4: 21/21] Use Control.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 21/21] Use Control.
- Date: Wed, 8 Apr 2020 18:07:42 +0000 (UTC)
commit 75cf644361c4cac0452b405f3a5e393336560a58
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 c22348f..cf3e9df 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");
@@ -185,12 +185,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]