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 313899 - <Include>s for <LegacyDir>s with prefix=es don't work.
<Include>s for <LegacyDir>s with prefix=es don't work.
Status: RESOLVED FIXED
Product: gnome-menus
Classification: Core
Component: libgnome-menu
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2005-08-18 22:03 UTC by Chris Lahey
Modified: 2005-08-22 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes this bug. (1.45 KB, patch)
2005-08-18 22:04 UTC, Chris Lahey
none Details | Review

Description Chris Lahey 2005-08-18 22:03:49 UTC
The Includes for LegacyDirs that have prefixes get put in without the prefix in
the included name, so the LegacyDir doesn't work.
Comment 1 Chris Lahey 2005-08-18 22:04:19 UTC
Created attachment 50959 [details] [review]
Fixes this bug.
Comment 2 Mark McLoughlin 2005-08-22 08:19:45 UTC
Thanks:

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

        Based on patch from Chris Lahey <clahey@ximian.com>
        in bug #313899

        * libmenu/entry-directories.c:
        (get_desktop_file_id_from_path): pass the DesktopEntryType
        instead of using EntryDirectory:entry_type which may
        be DESKTOP_ENTRY_INVALID with <LegacyDir>
        (entry_directory_foreach_recursive),
        (entry_directory_get_flat_contents): pass the appropriate
        entry type.