summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-11 17:17:19 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-11 18:33:04 +0100
commitf19e60ad01aeeb4dcdee687fa2f008ae477a7f5a (patch)
treedada39043e213a5d24dbcc4d574405fe52322b9f
parent33159fc81020aa259f2a41d410f675735676a7f4 (diff)
downloadtotem-f19e60ad01aeeb4dcdee687fa2f008ae477a7f5a.tar.gz
menu: Remove the use of submenus in subtitle menu
This means that we now always show content in the subtitles menu.
-rw-r--r--data/totem.ui28
1 files changed, 13 insertions, 15 deletions
diff --git a/data/totem.ui b/data/totem.ui
index c4bd1bf63..7cb93ed9a 100644
--- a/data/totem.ui
+++ b/data/totem.ui
@@ -109,22 +109,20 @@
</menu>
<menu id="subtitlesmenu">
- <section>
- <submenu>
- <attribute name="label" translatable="yes">_Languages</attribute>
+ <section>
+ <section>
+ <attribute name="label" translatable="yes">Languages</attribute>
<section id="languages-placeholder"/>
- </submenu>
- <submenu>
- <attribute name="label" translatable="yes">S_ubtitles</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Select Text Subtitles…</attribute>
- <attribute name="action">app.select-subtitle</attribute>
- </item>
- <section id="subtitle-download-placeholder"/>
- <section id="subtitles-placeholder"/>
- </section>
- </submenu>
+ </section>
+ <section>
+ <attribute name="label" translatable="yes">Subtitles</attribute>
+ <section id="subtitles-placeholder"/>
+ <item>
+ <attribute name="label" translatable="yes">_Select Text Subtitles…</attribute>
+ <attribute name="action">app.select-subtitle</attribute>
+ </item>
+ <section id="subtitle-download-placeholder"/>
+ </section>
</section>
</menu>