summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-11 18:23:25 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-11 18:33:04 +0100
commitb3c9ded43e602a279651377677edc03dd27c1609 (patch)
treecb5b33f0949bfa7285e90a4702cc758f650d300e /data
parent35baa6f759c18815a565e7f0509e756c472fd2f2 (diff)
downloadtotem-b3c9ded43e602a279651377677edc03dd27c1609.tar.gz
main: Add Shift+V to toggle subtitles
Closes: #130
Diffstat (limited to 'data')
-rw-r--r--data/shortcuts.ui28
1 files changed, 20 insertions, 8 deletions
diff --git a/data/shortcuts.ui b/data/shortcuts.ui
index dfad70605..767d1abac 100644
--- a/data/shortcuts.ui
+++ b/data/shortcuts.ui
@@ -142,13 +142,6 @@
<property name="title" translatable="yes" context="shortcut window">Next video or chapter</property>
</object>
</child>
- <child>
- <object class="GtkShortcutsShortcut" id="cycle-subtitle">
- <property name="visible">1</property>
- <property name="accelerator">V</property>
- <property name="title" translatable="yes" context="shortcut window">Select next Subtitle</property>
- </object>
- </child>
</object>
</child>
<child>
@@ -308,7 +301,26 @@
</child>
</object>
</child>
-
+ <child>
+ <object class="GtkShortcutsGroup" id="subtitles-menu">
+ <property name="visible">1</property>
+ <property name="title" translatable="yes" context="shortcut window">Subtitles</property>
+ <child>
+ <object class="GtkShortcutsShortcut" id="cycle-subtitle">
+ <property name="visible">1</property>
+ <property name="accelerator">V</property>
+ <property name="title" translatable="yes" context="shortcut window">Select next subtitle</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut" id="cycle-subtitle">
+ <property name="visible">1</property>
+ <property name="accelerator">&lt;Shift&gt;V</property>
+ <property name="title" translatable="yes" context="shortcut window">Toggle subtitles</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
</object>