diff options
author | fiaxh <git@lightrise.org> | 2019-12-17 22:54:08 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-12-17 23:47:57 +0100 |
commit | 97647f9b5251dfc7a5a84d7432a1914fa7ec66b9 (patch) | |
tree | 1ae43dde46cb1017f402dadc86214ed6f39a3072 /main/data | |
parent | 11c18cdf72f36a36b52d8305d24418397af21785 (diff) | |
download | dino-97647f9b5251dfc7a5a84d7432a1914fa7ec66b9.tar.gz dino-97647f9b5251dfc7a5a84d7432a1914fa7ec66b9.zip |
Add shortcuts window
Diffstat (limited to 'main/data')
-rw-r--r-- | main/data/menu_app.ui | 6 | ||||
-rw-r--r-- | main/data/shortcuts.ui | 52 |
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"><ctrl>T</property> + <property name="title" translatable="yes">Start Conversation</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">True</property> + <property name="accelerator"><ctrl>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"><ctrl>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"><ctrl><Shift>Tab</property> + <property name="title" translatable="yes">Jump to previous conversation</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> +</interface> |