[Xfce4-commits] [apps/xfburn] 01/04: Adding a popup UI file for context menus (1/3)

noreply at xfce.org noreply at xfce.org
Fri Dec 20 03:07:36 CET 2019


This is an automated email from the git hooks/post-receive script.

k   a   t   a   n   a   s   t   e   e   l       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfburn.

commit 3ede662d30006530325a7e77d915e24e4e2df6b3
Author: Rene Kjellerup <rk.katana.steel at gmail.com>
Date:   Thu Dec 19 13:07:56 2019 -0800

    Adding a popup UI file for context menus (1/3)
    
    Combining all 3 context menus into 1 file to simplify the
    implementation
    
    fix for bug 16282, part 1
---
 Makefile.am           |  3 ++-
 po/POTFILES.in        |  1 +
 xfburn-popup-menus.ui | 45 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 8be951b..15f4ee5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,8 @@ AUTOMAKE_OPTIONS = dist-bzip2
 
 uidir = $(datadir)/xfburn
 ui_DATA =  	                                                        \
-        xfburn.ui							\
+	xfburn.ui							\
+	xfburn-popup-menus.ui							\
 	xfburn-toolbars.ui
 
 #
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a4eaa7f..14ce4c1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -38,6 +38,7 @@ xfburn/xfburn-transcoder-gst.c
 xfburn/xfburn-transcoder.c
 xfburn/xfburn-device.c
 [type: gettext/glade]xfburn.ui
+[type: gettext/glade]xfburn-popup-menus.ui
 
 desktop-integration/thunar-sendto-xfburn.desktop.in
 
diff --git a/xfburn-popup-menus.ui b/xfburn-popup-menus.ui
new file mode 100644
index 0000000..ec98030
--- /dev/null
+++ b/xfburn-popup-menus.ui
@@ -0,0 +1,45 @@
+<interface>
+<menu id="data-popup-menu">
+  <section>
+    <item>
+      <attribute name="action">win.create-dir</attribute>
+      <attribute name="label" translatable="yes">Create directory</attribute>
+    </item>
+  </section>
+  <section>
+    <item>
+      <attribute name="action">win.rename-file</attribute>
+      <attribute name="label" translatable="yes">Rename</attribute>
+    </item>
+    <item>
+      <attribute name="action">win.remove-file</attribute>
+      <attribute name="label" translatable="yes">Remove</attribute>
+    </item>
+  </section>
+</menu>
+<menu id="audio-popup-menu">
+  <section>
+    <item>
+      <attribute name="action">win.remove-file</attribute>
+      <attribute name="label" translatable="yes">Remove</attribute>
+    </item>
+  </section>
+<menu id="audio-cdtext-popup-menu">
+  <section>
+    <item>
+      <attribute name="action">win.rename-artist</attribute>
+      <attribute name="label" translatable="yes">Rename Artist</attribute>
+    </item>
+    <item>
+      <attribute name="action">win.rename-title</attribute>
+      <attribute name="label" translatable="yes">Rename Title</attribute>
+    </item>
+  </section>
+  <section>
+    <item>
+      <attribute name="action">win.remove-file</attribute>
+      <attribute name="label" translatable="yes">Remove</attribute>
+    </item>
+  </section>
+</menu>
+</interface>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list