[bijiben/wip/sadiq/rewrite: 11/13] Add menus.ui



commit e133c550868ec16385fcd970177bc322e3fb8a46
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Tue Feb 27 08:01:03 2018 +0530

    Add menus.ui

 src/resources/gtk/menus.ui |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/gtk/menus.ui b/src/resources/gtk/menus.ui
new file mode 100644
index 0000000..a168695
--- /dev/null
+++ b/src/resources/gtk/menus.ui
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!-- Window menu is present in data/ui/window.ui -->
+<interface>
+  <menu id="app-menu">
+    <section>
+
+      <item>
+        <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
+        <attribute name="action">win.show-help-overlay</attribute>
+      </item>
+
+      <item>
+        <attribute name="label" translatable="yes">_Help</attribute>
+        <attribute name="action">app.help</attribute>
+        <attribute name="accel">F1</attribute>
+      </item>
+
+      <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]