Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: freeze-exception Hi, please unblock gnome-menus for squeeze. gnome-menus (2.30.3-1) unstable; urgency=low . * New upstream translation and bugfix release. * 06_menus_rename.patch: refreshed. Note that upstream uses a different fix but it relies on an environment variable (XDG_MENU_PREFIX) and only applies to applications.menu. Upstream changes follow. ============== Version 2.30.3 ============== Menu Editor * Respect XDG_MENU_PREFIX when writing user menu file (Vincent) Misc * Update information in README and other files (Vincent) Translators * Kristjan SCHMIDT (eo) * Sense Hofstede (fy) * Fran Diéguez (gl) * Reuben Potts (gv) * Dirgita (id) * Baurzhan M. (kk) * Sahran (ug) The code change is attached. Cheers, -- .''`. Josselin Mouette : :' : `. `' “If you behave this way because you are blackmailed by someone, `- […] I will see what I can do for you.” -- Jörg Schilling
--- gnome-menus-2.30.2/simple-editor/GMenuSimpleEditor/menutreemodel.py 2010-03-15 08:34:17.000000000 +0000 +++ gnome-menus-2.30.3/simple-editor/GMenuSimpleEditor/menutreemodel.py 2010-06-30 10:38:34.000000000 +0000 @@ -107,6 +107,9 @@ menu_files = ["applications.menu", "settings.menu"] for menu_file in menu_files: + if menu_file == "applications.menu" and os.environ.has_key ("XDG_MENU_PREFIX"): + menu_file = os.environ["XDG_MENU_PREFIX"] + menu_file + tree = gmenu.lookup_tree (menu_file, gmenu.FLAGS_INCLUDE_EXCLUDED) tree.sort_key = gmenu.SORT_DISPLAY_NAME self.__append_directory (tree.root, None, False, menu_file)
Attachment:
signature.asc
Description: This is a digitally signed message part