[eog/appmenu-retirement] Remove appmenu (#18)



commit dca08c725cc63ee052a5c0b59be8f5a68df3668c
Author: Robert Roth <robert roth off gmail com>
Date:   Thu Oct 11 22:47:20 2018 +0300

    Remove appmenu (#18)

 data/eog-app-menu.ui  | 30 ------------------------------
 data/eog-gear-menu.ui | 19 +++++++++++++++++++
 data/meson.build      |  1 -
 src/eog.gresource.xml |  1 -
 4 files changed, 19 insertions(+), 32 deletions(-)
---
diff --git a/data/eog-gear-menu.ui b/data/eog-gear-menu.ui
index 77330324..4353828d 100644
--- a/data/eog-gear-menu.ui
+++ b/data/eog-gear-menu.ui
@@ -57,5 +57,24 @@
       </item>
     </section>
     <section id="plugins-section"/>
+    <section>
+      <item>
+        <attribute name="action">app.preferences</attribute>
+        <attribute name="label" translatable="yes">Prefere_nces</attribute>
+      </item>
+      <item>
+        <attribute name="action">win.show-help-overlay</attribute>
+        <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
+      </item>
+      <item>
+        <attribute name="action">app.help</attribute>
+        <attribute name="label" translatable="yes">_Help</attribute>
+      </item>
+      <item>
+        <attribute name="action">app.about</attribute>
+        <attribute name="label" translatable="yes">_About Image Viewer</attribute>
+      </item>
+    </section>
   </menu>
 </interface>
+
diff --git a/data/meson.build b/data/meson.build
index 4f25e29f..378863a3 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -2,7 +2,6 @@ subdir('icons')
 
 resource_data = files(
   'pixmaps/thumbnail-frame.png',
-  'eog-app-menu.ui',
   'eog-gear-menu.ui',
   'eog-image-properties-dialog.ui',
   'eog-multiple-save-as-dialog.ui',
diff --git a/src/eog.gresource.xml b/src/eog.gresource.xml
index ea9b0a12..472408a9 100644
--- a/src/eog.gresource.xml
+++ b/src/eog.gresource.xml
@@ -13,7 +13,6 @@
     <file compressed="true" preprocess="xml-stripblanks">popup-menus.ui</file>
   </gresource>
   <gresource prefix="/org/gnome/eog/gtk">
-    <file alias="menus.ui" compressed="true" preprocess="xml-stripblanks">eog-app-menu.ui</file>
     <file compressed="true" preprocess="xml-stripblanks">help-overlay.ui</file>
   </gresource>
 </gresources>


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