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



commit ca5e202d3ea0dbac2e51263f25f8be4c3bc710ff
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]