Changes "First/Last" move shortcut to "Up/Down" key

This commit is contained in:
Pedro Paulo 2024-06-16 22:41:28 +00:00 committed by Michael Catanzaro
parent 8469d541ea
commit f3289547d4
2 changed files with 5 additions and 5 deletions

View file

@ -64,7 +64,7 @@
<property name="title" translatable="yes" context="shortcut window">History</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Shift&gt;&lt;Alt&gt;Left</property>
<property name="accelerator">Up</property>
<property name="title" translatable="yes" context="shortcut window">Rewind to Game Start</property>
</object>
</child>
@ -82,8 +82,8 @@
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Shift&gt;&lt;Alt&gt;Right</property>
<property name="title" translatable="yes" context="shortcut window">Show Current Move</property>
<property name="accelerator">Down</property>
<property name="title" translatable="yes" context="shortcut window">Show Last Move</property>
</object>
</child>
</object>

View file

@ -131,10 +131,10 @@ Copyright © 20152016 Sahil Sareen""";
set_accels_for_action ("app." + UNDO_MOVE_ACTION_NAME, { "<Control>z" });
set_accels_for_action ("app." + PAUSE_RESUME_ACTION_NAME, { "<Control>p",
"Pause" });
set_accels_for_action ("app." + HISTORY_GO_FIRST_ACTION_NAME, { "<Shift><Alt>Left" });
set_accels_for_action ("app." + HISTORY_GO_FIRST_ACTION_NAME, { "Up" });
set_accels_for_action ("app." + HISTORY_GO_PREVIOUS_ACTION_NAME, { "Left" });
set_accels_for_action ("app." + HISTORY_GO_NEXT_ACTION_NAME, { "Right" });
set_accels_for_action ("app." + HISTORY_GO_LAST_ACTION_NAME, { "<Shift><Alt>Right" });
set_accels_for_action ("app." + HISTORY_GO_LAST_ACTION_NAME, { "Down" });
set_accels_for_action ("app." + HELP_ACTION_NAME, { "F1" });
set_accels_for_action ("app." + QUIT_ACTION_NAME, { "<Control>q",
"<Control>w" });