3d5dad25d8
GTK automatically loads and sets up the action and keyboard shortcut for the Keyboard Shortcuts dialog. We don't need to manually do it as long as we put everything in the right place. See https://docs.gtk.org/gtk4/class.Application.html#automatic-resources
69 lines
3.5 KiB
XML
69 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkShortcutsWindow" id="help_overlay">
|
|
<property name="modal">True</property>
|
|
<child>
|
|
<object class="GtkShortcutsSection">
|
|
<property name="section-name">shortcuts</property>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="title" translatable="yes">General</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><ctrl>T</property>
|
|
<property name="title" translatable="yes">Start Conversation</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><ctrl>G</property>
|
|
<property name="title" translatable="yes">Join Channel</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><ctrl>question</property>
|
|
<property name="title" translatable="yes">Keyboard shortcuts</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="title" translatable="yes">Conversation</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><ctrl>F</property>
|
|
<property name="title" translatable="yes">Search messages</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><ctrl>U</property>
|
|
<property name="title" translatable="yes">Send a file</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="title" translatable="yes">Navigation</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><ctrl>Tab</property>
|
|
<property name="title" translatable="yes">Jump to next conversation</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="accelerator"><ctrl><Shift>Tab</property>
|
|
<property name="title" translatable="yes">Jump to previous conversation</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|