67a5d88e0d
I probably should have removed GtkDialog.run() use first, in a separate commit, but I didn't and now it would be a lot of effort to split it out. So here it is: one big GTK 4 megacommit.
111 lines
5 KiB
XML
111 lines
5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkShortcutsWindow" id="help_overlay">
|
|
<property name="modal">1</property>
|
|
<child>
|
|
<object class="GtkShortcutsSection">
|
|
<property name="max-height">8</property>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="title" translatable="yes" context="shortcut window">General</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Ctrl>N</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Start a new game</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Ctrl>O</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Open a saved game</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Ctrl>P Pause</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Pause the game</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Ctrl>S</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Save the game</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Shift><Ctrl>S</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Save the game with a different name</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Ctrl>Z</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Undo move</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Ctrl>Q</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Quit</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator">F10</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Open menu</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="title" translatable="yes" context="shortcut window">History</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Shift><Alt>Left</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Rewind to the game start</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Alt>Left</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Show the previous move</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Alt>Right</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Show the next move</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Shift><Alt>Right</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Show the current move</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="title" translatable="yes" context="shortcut window">Help</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator">F1</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Show Help</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><Primary>question</property>
|
|
<property name="title" translatable="yes" context="shortcut window">Show Keyboard Shortcuts</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|