aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
Diffstat (limited to 'main/data')
-rw-r--r--main/data/menu_app.ui6
-rw-r--r--main/data/shortcuts.ui52
2 files changed, 58 insertions, 0 deletions
diff --git a/main/data/menu_app.ui b/main/data/menu_app.ui
index eadbc81e..20bd66b6 100644
--- a/main/data/menu_app.ui
+++ b/main/data/menu_app.ui
@@ -11,5 +11,11 @@
<attribute name="label" translatable="yes">Settings</attribute>
</item>
</section>
+ <section>
+ <item>
+ <attribute name="action">app.open_shortcuts</attribute>
+ <attribute name="label" translatable="yes">Keyboard Shortcuts</attribute>
+ </item>
+ </section>
</menu>
</interface>
diff --git a/main/data/shortcuts.ui b/main/data/shortcuts.ui
new file mode 100644
index 00000000..68c71237
--- /dev/null
+++ b/main/data/shortcuts.ui
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <object class="GtkShortcutsWindow" id="shortcuts-window">
+ <property name="modal">True</property>
+ <child>
+ <object class="GtkShortcutsSection">
+ <property name="visible">True</property>
+ <property name="section-name">shortcuts</property>
+ <child>
+ <object class="GtkShortcutsGroup">
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">General</property>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator">&lt;ctrl&gt;T</property>
+ <property name="title" translatable="yes">Start Conversation</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator">&lt;ctrl&gt;G</property>
+ <property name="title" translatable="yes">Join Channel</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsGroup">
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">Navigation</property>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator">&lt;ctrl&gt;Tab</property>
+ <property name="title" translatable="yes">Jump to next conversation</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator">&lt;ctrl&gt;&lt;Shift&gt;Tab</property>
+ <property name="title" translatable="yes">Jump to previous conversation</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>