[sound-juicer: 3/4] main: Remove disc submenu since menu is short




commit 35c3e7f8eb44ce9b3029a6ed1f21ae2ad1a64643
Author: David Meikle <david meikle io>
Date:   Sun Aug 30 21:33:42 2020 +0100

    main: Remove disc submenu since menu is short
    
    Given that the menu is short, this removed the disc
    submenu so that the options are available directly in
    the popover.

 data/sound-juicer.ui | 33 ++++++++++++++-------------------
 1 file changed, 14 insertions(+), 19 deletions(-)
---
diff --git a/data/sound-juicer.ui b/data/sound-juicer.ui
index d64a066e..998ce637 100644
--- a/data/sound-juicer.ui
+++ b/data/sound-juicer.ui
@@ -828,25 +828,20 @@ audio-volume-medium</property>
   </object>
   <menu id="popover-menu">
     <section>
-      <submenu>
-        <attribute name="label" translatable="yes">Disc</attribute>
-        <section>
-          <item>
-            <attribute name="label" translatable="yes">Re-read</attribute>
-            <attribute name="action">app.re-read</attribute>
-            <attribute name="accel">&lt;Primary&gt;r</attribute>
-          </item>
-          <item>
-            <attribute name="label" translatable="yes">Duplicate</attribute>
-            <attribute name="action">app.duplicate</attribute>
-          </item>
-          <item>
-            <attribute name="label" translatable="yes">Eject</attribute>
-            <attribute name="action">app.eject</attribute>
-            <attribute name="accel">&lt;Primary&gt;j</attribute>
-          </item>
-        </section>
-      </submenu>
+      <item>
+        <attribute name="label" translatable="yes">Re-read</attribute>
+        <attribute name="action">app.re-read</attribute>
+        <attribute name="accel">&lt;Primary&gt;r</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Duplicate</attribute>
+        <attribute name="action">app.duplicate</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Eject</attribute>
+        <attribute name="action">app.eject</attribute>
+        <attribute name="accel">&lt;Primary&gt;j</attribute>
+      </item>
     </section>
     <section>
       <item>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]