[gnome-packagekit] Re-instate the gpk-application app-menu



commit a84ff7c801efd6e438adbccb80c6d5bbe835e73a
Author: Richard Hughes <richard hughsie com>
Date:   Mon Aug 29 10:07:15 2016 +0100

    Re-instate the gpk-application app-menu
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=769931

 src/gpk-application.ui |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-application.ui b/src/gpk-application.ui
index 00537c7..5620964 100644
--- a/src/gpk-application.ui
+++ b/src/gpk-application.ui
@@ -409,4 +409,47 @@
       </object>
     </child>
   </object>
+
+  <menu id="appmenu">
+    <section>
+      <item>
+        <attribute name="label" translatable="yes">Check for Updates</attribute>
+        <attribute name="action">app.updates</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Package Sources</attribute>
+        <attribute name="action">app.sources</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Refresh Package Lists</attribute>
+        <attribute name="action">app.refresh</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Package Log</attribute>
+        <attribute name="action">app.log</attribute>
+      </item>
+    </section>
+    <section>
+      <item>
+        <attribute name="label" translatable="yes">Only Newest Versions</attribute>
+        <attribute name="action">app.filter-newest</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Only Native Packages</attribute>
+        <attribute name="action">app.filter-arch</attribute>
+      </item>
+    </section>
+    <section>
+      <item>
+        <attribute name="label" translatable="yes">About</attribute>
+        <attribute name="action">app.about</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">_Quit</attribute>
+        <attribute name="action">app.quit</attribute>
+        <attribute name="accel">&lt;Primary&gt;q</attribute>
+      </item>
+    </section>
+  </menu>
+
 </interface>


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