[frogr] Added XML description for the contextual menu
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Added XML description for the contextual menu
- Date: Thu, 19 Dec 2013 22:38:06 +0000 (UTC)
commit 236406378cc4e45a2c2d44e2aa395219e1c11203
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Thu Dec 19 07:29:05 2013 +0000
Added XML description for the contextual menu
Makefile.am | 1 +
data/gtkbuilder/frogr-context-menu.xml | 51 ++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index e69f2d5..0aaa541 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -71,6 +71,7 @@ gtkbuilderdir = $(datadir)/frogr/gtkbuilder
gtkbuilder_DATA = \
data/gtkbuilder/frogr-main-view.xml \
data/gtkbuilder/frogr-app-menu.xml \
+ data/gtkbuilder/frogr-context-menu.xml \
data/gtkbuilder/frogr-menu-bar.xml
desktopentrydir = $(datadir)/applications
diff --git a/data/gtkbuilder/frogr-context-menu.xml b/data/gtkbuilder/frogr-context-menu.xml
new file mode 100644
index 0000000..1e30951
--- /dev/null
+++ b/data/gtkbuilder/frogr-context-menu.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <menu id="context-menu">
+ <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>
+ <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">_Remove Elements</attribute>
+ <attribute name="action">win.remove-pictures</attribute>
+ <attribute name="accel">Delete</attribute>
+ </item>
+ </section>
+ </menu>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]