diff options
author | fiaxh <git@lightrise.org> | 2020-06-03 21:41:24 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-06-03 21:50:40 +0200 |
commit | 8a64c8501d028ead3fe85a3378cc127db67392a7 (patch) | |
tree | 7674f2a428f03f7f0ff8548ccd2e9d0bacf5ff37 /main/data | |
parent | 2f40726f556b5edf5d0302a293a528943b9a214b (diff) | |
download | dino-8a64c8501d028ead3fe85a3378cc127db67392a7.tar.gz dino-8a64c8501d028ead3fe85a3378cc127db67392a7.zip |
Add shortcuts for search (CTRL+F) and file upload (CTRL+U)
fixes #806
Diffstat (limited to 'main/data')
-rw-r--r-- | main/data/chat_input.ui | 1 | ||||
-rw-r--r-- | main/data/shortcuts.ui | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/main/data/chat_input.ui b/main/data/chat_input.ui index fb004fec..3ddb29b9 100644 --- a/main/data/chat_input.ui +++ b/main/data/chat_input.ui @@ -19,6 +19,7 @@ <property name="visible">True</property> <child> <object class="GtkButton" id="file_button"> + <property name="tooltip-text" translatable="yes">Send a file</property> <property name="can-focus">False</property> <property name="margin-top">3</property> <property name="relief">none</property> diff --git a/main/data/shortcuts.ui b/main/data/shortcuts.ui index 68c71237..0b0732a9 100644 --- a/main/data/shortcuts.ui +++ b/main/data/shortcuts.ui @@ -29,6 +29,26 @@ <child> <object class="GtkShortcutsGroup"> <property name="visible">True</property> + <property name="title" translatable="yes">Conversation</property> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">True</property> + <property name="accelerator"><ctrl>F</property> + <property name="title" translatable="yes">Search messages</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">True</property> + <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="visible">True</property> <property name="title" translatable="yes">Navigation</property> <child> <object class="GtkShortcutsShortcut"> |