GNOME Bugzilla – Bug 171638
*LegacyDirs needs to be remove from settings.menu.
Last modified: 2005-04-04 14:34:42 UTC
Please describe the problem: The KDELegacyDirs and LegacyDirs need to be remove from the settings.menu. Recently, when the gnome-menus 2.10.1 has fixed the LegacyDirs stuff correct and the result is that it will display two same stuff in 'Applications' and 'Desktop' menu from a .desktop. Because of applications.menu and settings.menu have the KDELegacyDirs and LegacyDirs. Steps to reproduce: 1. a .desktop without 'Cateogory' entry and living in either KDELegacyDirs or LegacyDirs. 2. restart gnome-panel and it will appearing same info in the 'Applications' and 'Desktop' menu. Actual results: Expected results: Does this happen every time? Yes. Other information: Remove the KDELegacyDirs or LegacyDirs from settings.menu to solve this problem to get .desktop only appear in the 'Applications' menu.
No, the <KDELegacyDirs> and <LegacyDir> entries do make sense - we do want to pick up legacy .desktop files. The only way to avoid these duplicates is at the distribution/packaging level. Make sure packages aren't installing duplicate entries, remove .desktop files that you don't want to appear in the menus etc.
*** Bug 171710 has been marked as a duplicate of this bug. ***