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 168444 - prefix doesn't work in LegacyDir
prefix doesn't work in LegacyDir
Status: RESOLVED FIXED
Product: gnome-menus
Classification: Core
Component: general
2.9.x
Other Linux
: High major
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2005-02-24 20:48 UTC by Chris Lahey
Modified: 2005-03-08 17:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix-prefixed-legacy-dirs.patch (604 bytes, patch)
2005-03-01 17:59 UTC, Mark McLoughlin
none Details | Review

Description Chris Lahey 2005-02-24 20:48:00 UTC
If you add a prefix="" attribute to a LegacyDir, all of a sudden it acts like an
AppDir instead of a LegacyDir.  Note, this means KdeLegacyDirs won't work since
that automatically adds a prefix of "kde".
Comment 1 Mark McLoughlin 2005-03-01 17:59:34 UTC
Created attachment 38112 [details] [review]
fix-prefixed-legacy-dirs.patch

This seems to fix the problem for me. Again, I'd appreciate if you could
verify.
Comment 2 Chris Lahey 2005-03-02 21:51:40 UTC
This seems to work fine.  Thanks.  I suggest committing it.
Comment 3 Mark McLoughlin 2005-03-08 17:36:03 UTC
Fix will be in 2.10.1

2005-03-08  Mark McLoughlin  <mark@skynet.ie>

        Fix for bug #168444 - LegacyDirs with a prefix don't work.

        * libmenu/entry-directories.c: (entry_directory_get_desktop):
        Remove the hyphen from the desktop file ID as well as
        the prefix when looking up the desktop file.