aboutsummaryrefslogtreecommitdiff
path: root/main/data/shortcuts.ui
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2023-07-03 21:55:11 -0400
committerfiaxh <fiaxh@users.noreply.github.com>2023-07-08 11:20:51 +0200
commit3d5dad25d8d400003bea74b4c891f041c01351b5 (patch)
tree7ce3a1c811a239deaec65a9e9cec7f7923bd009c /main/data/shortcuts.ui
parenta36a63d7e42f5a21ecc3755db2570ce2b379f5ff (diff)
downloaddino-3d5dad25d8d400003bea74b4c891f041c01351b5.tar.gz
dino-3d5dad25d8d400003bea74b4c891f041c01351b5.zip
application: Load help overlay automatically
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
Diffstat (limited to 'main/data/shortcuts.ui')
-rw-r--r--main/data/shortcuts.ui68
1 files changed, 0 insertions, 68 deletions
diff --git a/main/data/shortcuts.ui b/main/data/shortcuts.ui
deleted file mode 100644
index 6cc5851a..00000000
--- a/main/data/shortcuts.ui
+++ /dev/null
@@ -1,68 +0,0 @@
-<?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="section-name">shortcuts</property>
- <child>
- <object class="GtkShortcutsGroup">
- <property name="title" translatable="yes">General</property>
- <child>
- <object class="GtkShortcutsShortcut">
- <property name="accelerator">&lt;ctrl&gt;T</property>
- <property name="title" translatable="yes">Start Conversation</property>
- </object>
- </child>
- <child>
- <object class="GtkShortcutsShortcut">
- <property name="accelerator">&lt;ctrl&gt;G</property>
- <property name="title" translatable="yes">Join Channel</property>
- </object>
- </child>
- <child>
- <object class="GtkShortcutsShortcut">
- <property name="accelerator">&lt;ctrl&gt;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">&lt;ctrl&gt;F</property>
- <property name="title" translatable="yes">Search messages</property>
- </object>
- </child>
- <child>
- <object class="GtkShortcutsShortcut">
- <property name="accelerator">&lt;ctrl&gt;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">&lt;ctrl&gt;Tab</property>
- <property name="title" translatable="yes">Jump to next conversation</property>
- </object>
- </child>
- <child>
- <object class="GtkShortcutsShortcut">
- <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>