fbpanel icon indicating copy to clipboard operation
fbpanel copied to clipboard

no-double-entries in menu

Open capt-d opened this issue 8 years ago • 1 comments

User's *.desktop entries are overwriting system's ones. It is based on files' names for specified category. Patch in attachment.

capt-d avatar Dec 25 '16 22:12 capt-d

http://standards.freedesktop.org/menu-spec/menu-spec-latest.html says: "When two desktop entries have the same name, the one appearing earlier in the path is used."

The spec is referring to the "Name" key in the file, not the file name. Currently, duplicates are the result of not scanning user directories first and not rejecting additional occurrences of names.

This change does not correctly comply with the freedesktop.org spec since it uses file names. Menu editors which generate local .desktop files with names differing from the system ones will stop working.

JDM1492 avatar Sep 02 '17 03:09 JDM1492