[totem/wip/hadess/track-lists: 3/7] menu: Remove the use of submenus in subtitle menu




commit f19e60ad01aeeb4dcdee687fa2f008ae477a7f5a
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]