https://bugzilla.novell.com/show_bug.cgi?id=529368
https://bugzilla.novell.com/show_bug.cgi?id=529368#c13
--- Comment #13 from Vincent Untz
having the full path is a lot of duplicated stuff that is really the same stuff. I could solve this in a nicer way in matching the filename against prefixes. E.g. I created good results in prefixing yast stuff with Y- and KDE3 stuff with K3- and applications with Y-.
But this algorithm would have to end everywhere where we use desktop_translations, GNOME, KDE and yast come into my mind - and everytime a new problem comes up we would have to adapt it.
What about removing /usr/share/applications and /etc/xdg/autostart from the full path if they're prefixing the path, and using the remaining part of the path? This means we would have totem.desktop and /usr/share/kde4/apps/kmahjongg/layouts/totem.desktop, so no conflict there.
We could solve the problem at hand in a simpler way: prefering applications menu over everything else. No idea if it would be good enough for the rest though.
I'm afraid we might get a similar bug if we prefer applications. For example, /usr/share/kde4/apps/kmahjongg/layouts/totem.desktop is certainly useful somewhere. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.