[gnome-packagekit] Remove the app menu



commit 3c15f801c8784d00d49b211f343c1a8bb42789ec
Author: Richard Hughes <richard hughsie com>
Date:   Thu Feb 7 10:13:50 2019 +0000

    Remove the app menu
    
    https://wiki.gnome.org/Initiatives/GnomeGoals/AppMenuRetirement

 src/gpk-application.ui | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/src/gpk-application.ui b/src/gpk-application.ui
index 56209646..23c33b39 100644
--- a/src/gpk-application.ui
+++ b/src/gpk-application.ui
@@ -406,11 +406,31 @@
             <property name="position">2</property>
           </packing>
         </child>
+
+        <child>
+          <object class="GtkMenuButton" id="menu_button">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="sensitive">True</property>
+            <property name="menu_model">primary_menu</property>
+            <child>
+              <object class="GtkImage">
+                <property name="visible">True</property>
+                <property name="icon_name">open-menu-symbolic</property>
+                <property name="icon_size">1</property>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="pack-type">end</property>
+          </packing>
+        </child>
+
       </object>
     </child>
   </object>
 
-  <menu id="appmenu">
+  <menu id="primary_menu">
     <section>
       <item>
         <attribute name="label" translatable="yes">Check for Updates</attribute>


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