After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630866 - add LegacyDirs and /usr/local/share/applications to gs-applications.menu
add LegacyDirs and /usr/local/share/applications to gs-applications.menu
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Owen Taylor
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-09-29 00:36 UTC by Maxim Ermilov
Modified: 2010-10-25 15:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add LegacyDirs and /usr/local/share/applications to gs-applications.menu (888 bytes, patch)
2010-09-29 00:36 UTC, Maxim Ermilov
needs-work Details | Review

Description Maxim Ermilov 2010-09-29 00:36:37 UTC
Created attachment 171316 [details] [review]
add LegacyDirs and /usr/local/share/applications to gs-applications.menu

DefaultAppDirs doesn't include /usr/local/share/applications.
some applications still use LegacyDirs.
Comment 1 Owen Taylor 2010-09-29 17:49:52 UTC
Can you be more specific about what applications / what Linux distributions need these directories?
Comment 2 Maxim Ermilov 2010-09-29 20:42:14 UTC
(In reply to comment #1)
> Can you be more specific about what applications / what Linux distributions
> need these directories?

/usr/local/share/applications - google-chrome (official rpm)
I add Other two just in case of possible applications that still store .desktop files there.
AppDir will not modify menu structure. It is just search path for .desktop files.
Comment 3 Owen Taylor 2010-10-25 15:39:49 UTC
Review of attachment 171316 [details] [review]:

OK, with the /usr/local/share/applications addition. The "LegacyDirs" additions I don't like. (you aren't treating these as LegacyDirs, you are just grabbing some desktop files from random directories)