? alacarte-0.10-fixmenuname.patch
? alacarte.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/alacarte/ChangeLog,v
retrieving revision 1.48
diff -u -p -r1.48 ChangeLog
--- ChangeLog	2 Oct 2006 04:52:16 -0000	1.48
+++ ChangeLog	2 Oct 2006 16:05:14 -0000
@@ -1,3 +1,8 @@
+2006-10-02  Frederic Crozat  <fcrozat@mandriva.com>
+
+	* Alacarte/MenuEditor.py: don't hardcode root menu node name 
+	(GNOME bug #355828).
+
 2006-10-02  Travis Watkins  <alleykat@gmail.com>
 
 	* Alacarte/DialogHandler.py: escape non-alphanum chars in command dialog
Index: Alacarte/MenuEditor.py
===================================================================
RCS file: /cvs/gnome/alacarte/Alacarte/MenuEditor.py,v
retrieving revision 1.15
diff -u -p -r1.15 MenuEditor.py
--- Alacarte/MenuEditor.py	2 Oct 2006 01:08:50 -0000	1.15
+++ Alacarte/MenuEditor.py	2 Oct 2006 16:05:14 -0000
@@ -443,10 +443,7 @@ class MenuEditor:
 
 	def __getPath(self, menu, path=None):
 		if not path:
-			if self.__getMenu(menu) == self.applications:
-				path = 'Applications'
-			else:
-				path = 'Desktop'
+                        path = menu.tree.root.get_menu_id()
 		if menu.get_parent():
 			path = self.__getPath(menu.get_parent(), path)
 			path += '/'
