[frogr] New UI file describing the menu model of the header's menu button
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] New UI file describing the menu model of the header's menu button
- Date: Sat, 11 Oct 2014 08:17:23 +0000 (UTC)
commit 6034ddada6f7d871065374d4d953164a1f8725a5
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Sat Oct 11 09:07:22 2014 +0100
New UI file describing the menu model of the header's menu button
Makefile.am | 1 +
data/gtkbuilder/frogr-menu-button.xml | 100 +++++++++++++++++++++++++++++++++
2 files changed, 101 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 79614ca..7011afc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -73,6 +73,7 @@ gtkbuilder_DATA = \
data/gtkbuilder/frogr-main-view.xml \
data/gtkbuilder/frogr-app-menu.xml \
data/gtkbuilder/frogr-context-menu.xml \
+ data/gtkbuilder/frogr-menu-button.xml \
data/gtkbuilder/frogr-menu-bar.xml
man1_MANS = data/manpages/frogr.1
diff --git a/data/gtkbuilder/frogr-menu-button.xml b/data/gtkbuilder/frogr-menu-button.xml
new file mode 100644
index 0000000..29ba6e3
--- /dev/null
+++ b/data/gtkbuilder/frogr-menu-button.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <menu id="menu-button">
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Save</attribute>
+ <attribute name="action">win.save-project</attribute>
+ <attribute name="accel"><Primary>s</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Save _As…</attribute>
+ <attribute name="action">win.save-project-as</attribute>
+ <attribute name="accel"><Primary><Shift>s</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Edit Details…</attribute>
+ <attribute name="action">win.edit-details</attribute>
+ <attribute name="accel"><Primary>d</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Add _Tags…</attribute>
+ <attribute name="action">win.add-tags</attribute>
+ <attribute name="accel"><Primary>t</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Add to _Group…</attribute>
+ <attribute name="action">win.add-to-group</attribute>
+ <attribute name="accel"><Primary>g</attribute>
+ </item>
+ <submenu>
+ <attribute name="label" translatable="yes">Add to _Photoset</attribute>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Add to Existing Photoset…</attribute>
+ <attribute name="action">win.add-to-set</attribute>
+ <attribute name="accel"><Primary>p</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Create New Photoset…</attribute>
+ <attribute name="action">win.add-to-new-set</attribute>
+ <attribute name="accel"><Primary><Shift>p</attribute>
+ </item>
+ </section>
+ </submenu>
+ </section>
+ <section>
+ <submenu>
+ <attribute name="label" translatable="yes">_Sort Elements</attribute>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">As _Loaded</attribute>
+ <attribute name="action">win.sort-by</attribute>
+ <attribute name="target">as-loaded</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">By _Date Taken</attribute>
+ <attribute name="action">win.sort-by</attribute>
+ <attribute name="target">date-taken</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">By _Title</attribute>
+ <attribute name="action">win.sort-by</attribute>
+ <attribute name="target">title</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">By _Size</attribute>
+ <attribute name="action">win.sort-by</attribute>
+ <attribute name="target">size</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Reversed Order</attribute>
+ <attribute name="action">win.sort-in-reverse-order</attribute>
+ </item>
+ </section>
+ </submenu>
+ <item>
+ <attribute name="label" translatable="yes">Enable _Tooltips</attribute>
+ <attribute name="action">win.enable-tooltips</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Open in External Viewer</attribute>
+ <attribute name="action">win.open-in-external-viewer</attribute>
+ <attribute name="accel"><Primary>v</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Quit</attribute>
+ <attribute name="action">app.quit</attribute>
+ <attribute name="accel"><Primary>q</attribute>
+ </item>
+ </section>
+ </menu>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]