r35275 - in /packages/unstable/alacarte/debian: changelog patches/40-xdg-menu-prefix patches/series

laney at users.alioth.debian.org laney at users.alioth.debian.org
Tue Jun 5 21:30:06 UTC 2012


Author: laney
Date: Tue Jun  5 21:30:06 2012
New Revision: 35275

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=35275
Log:
debian/patches/40_xdg_menu_prefix: Edit
~/.config/menus/gnome-applications.menu instead of applications.menu
(Closes: #676137)

Added:
    packages/unstable/alacarte/debian/patches/40-xdg-menu-prefix
Modified:
    packages/unstable/alacarte/debian/changelog
    packages/unstable/alacarte/debian/patches/series

Modified: packages/unstable/alacarte/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/alacarte/debian/changelog?rev=35275&op=diff
==============================================================================
--- packages/unstable/alacarte/debian/changelog [utf-8] (original)
+++ packages/unstable/alacarte/debian/changelog [utf-8] Tue Jun  5 21:30:06 2012
@@ -1,3 +1,11 @@
+alacarte (0.13.4-2) UNRELEASED; urgency=low
+
+  * debian/patches/40_xdg_menu_prefix: Edit
+    ~/.config/menus/gnome-applications.menu instead of applications.menu
+    (Closes: #676137)
+
+ -- Iain Lane <laney at debian.org>  Tue, 05 Jun 2012 22:28:44 +0100
+
 alacarte (0.13.4-1) unstable; urgency=low
 
   [ Josselin Mouette ]

Added: packages/unstable/alacarte/debian/patches/40-xdg-menu-prefix
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/alacarte/debian/patches/40-xdg-menu-prefix?rev=35275&op=file
==============================================================================
--- packages/unstable/alacarte/debian/patches/40-xdg-menu-prefix (added)
+++ packages/unstable/alacarte/debian/patches/40-xdg-menu-prefix [utf-8] Tue Jun  5 21:30:06 2012
@@ -1,0 +1,20 @@
+Description: Edit menus from gnome(or $XDG_MENU_PREFIX)-applications.menu
+  instead of applications.menu
+Author: Iain Lane <laney at debian.org>
+Forwarded: not-needed
+Bug-Debian: http://bugs.debian.org/676137
+
+Index: alacarte-0.13.4/Alacarte/MenuEditor.py
+===================================================================
+--- alacarte-0.13.4.orig/Alacarte/MenuEditor.py	2012-06-01 07:32:20.000000000 +0100
++++ alacarte-0.13.4/Alacarte/MenuEditor.py	2012-06-05 19:14:20.650236041 +0100
+@@ -48,7 +48,8 @@
+ 
+ class MenuEditor(object):
+     def __init__(self):
+-        self.applications = Menu('applications.menu')
++        menu_prefix = os.getenv('XDG_MENU_PREFIX') or 'gnome-'
++        self.applications = Menu(menu_prefix + 'applications.menu')
+         self.applications.tree.connect('changed', self.menuChanged)
+ 
+     def menuChanged(self, *a):

Modified: packages/unstable/alacarte/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/alacarte/debian/patches/series?rev=35275&op=diff
==============================================================================
--- packages/unstable/alacarte/debian/patches/series [utf-8] (original)
+++ packages/unstable/alacarte/debian/patches/series [utf-8] Tue Jun  5 21:30:06 2012
@@ -1,2 +1,3 @@
 03-bind_textdomain_codeset.patch
 30-python_private_dir.patch
+40-xdg-menu-prefix




More information about the pkg-gnome-commits mailing list