[gnome-weather] Replace Temperature Unit submenu with menu section



commit 47a563178506cf68815de24c2329577e524053ab
Author: Vitaly Dyachkov <obyknovenius me com>
Date:   Thu May 19 18:53:59 2022 +0200

    Replace Temperature Unit submenu with menu section

 data/window.ui | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/window.ui b/data/window.ui
index 29e22a9..ca10ff1 100644
--- a/data/window.ui
+++ b/data/window.ui
@@ -2,8 +2,8 @@
 <interface>
   <requires lib="gtk" version="4.0" />
   <menu id="primary-menu">
-    <submenu>
-      <attribute translatable="yes" name="label">_Temperature Unit</attribute>
+    <section>
+      <attribute translatable="yes" name="label">Temperature Unit</attribute>
       <item>
         <attribute translatable="yes" name="label">_Celsius</attribute>
         <attribute name="action">app.temperature-unit</attribute>
@@ -14,7 +14,7 @@
         <attribute name="action">app.temperature-unit</attribute>
         <attribute name="target">fahrenheit</attribute>
       </item>
-    </submenu>
+    </section>
     <section>
       <item>
         <attribute name="action">win.about</attribute>
@@ -126,4 +126,4 @@
       </object>
     </child>
   </template>
-</interface>
\ No newline at end of file
+</interface>


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