#272 closed defect (fixed)
[PATCH] Correct parsing for .desktop files
Reported by: | Nathan Rennie-Waldock | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Global | Keywords: | |
Cc: |
Description
I've updated load_desktop_menus to use ConfigParser?. I've been using this patch for a couples months and had no issues, menus behave as expected.
Attachments (1)
Change History (3)
Changed 10 years ago by
Attachment: | load_desktop_menus - use ConfigParser.patch added |
---|
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
More reliable fix for #268. It'd handle badly ordered .desktop files (which shouldn't happen but safer to anyway).
Note: See
TracTickets for help on using
tickets.
Looks good, why do you need this? Does this fix a bug?
What would be even better would be to use pyxdg, as per #94. I wished I had known about both of these libraries when I first wrote winswitch..
Applied anyway in r5301.