Summary: | dev-python/pyxdg-0.17-r1 does not respect XDG_MENU_PREFIX | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Ilinykh <rion4ik> |
Component: | [OLD] Library | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | freedesktop-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | pyxdg-gnome.patch |
Description
Sergey Ilinykh
2009-10-13 18:32:50 UTC
Created attachment 206991 [details, diff]
pyxdg-gnome.patch
GNOME team: Can you verify this problem? No. pyxdg should be honoring the XDG_MENU_PREFIX environment variable and look for the applications menu file based on that, as per the specification. However I haven't looked in-depth what pyxdg is doing with that applications.menu file it finds while ignoring XDG_MENU_PREFIX ah, it's the default if something provided doesn't exist. I think the default it checks for should be ${XDG_MENU_PREFIX}applications.menu then It indeed looks like pyxdg doesn't actually respect the spec, there is no occurence of XDG_MENU_PREFIX in it's files afaics. This is not a problem specific to gnome as kde does the same, changing cc to fdo to let every othere DE maintainers know. ok, i've put proper patched version to my overlay http://rion-overlay.googlecode.com/hg/dev-python/pyxdg/ even simpler, use: prefix = os.environ.get('XDG_MENU_PREFIX', '') (In reply to comment #7) > even simpler, use: > prefix = os.environ.get('XDG_MENU_PREFIX', '') > thx. fixed =) Fixed in dev-python/pyxdg-0.17-r2. |