[totem/wip/hadess/track-lists] menu: Remove the use of submenus in subtitle menu
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/track-lists] menu: Remove the use of submenus in subtitle menu
- Date: Fri, 11 Feb 2022 16:43:31 +0000 (UTC)
commit 81d1e941742a5e982fff66fea53f9e59b22f608b
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 11 17:17:19 2022 +0100
menu: Remove the use of submenus in subtitle menu
This means that we now always show content in the subtitles menu.
data/totem.ui | 28 +++++++++++++---------------
1 file 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]