Opened 15 years ago
Last modified 12 years ago
#94 new defect
load xdg menu spec instead of just parsing .desktop files — at Version 1
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | Client | Keywords: | |
Cc: | troycauble@… |
Description (last modified by )
The spec is here.
Maybe we can replace the whole logic of excluded apps with standard /menus/*.menu
files? Ship our own in /usr/share/winswitch/
and use them as templates (copy them to the user's config directory?)
I wished there was some python library to load all these files into data structures already... And there is: http://www.freedesktop.org/wiki/Software/pyxdg (shame I only discovered it after writing so much code...)
Note: See
TracTickets for help on using
tickets.