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 168336 - [KDE Desktop Entry] generates odd behavior
[KDE Desktop Entry] generates odd behavior
Status: RESOLVED FIXED
Product: gnome-menus
Classification: Core
Component: general
2.9.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2005-02-24 02:40 UTC by Chris Lahey
Modified: 2005-03-08 18:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix-kde-desktop-entry.patch (2.50 KB, patch)
2005-03-01 17:41 UTC, Mark McLoughlin
none Details | Review

Description Chris Lahey 2005-02-24 02:40:46 UTC
I have some desktop files with this group in them.  gnome-menus seems to include
a lot of information from this group, but not all the information. 
Specifically, it includes Exec, Name, and Icon, but not NoDisplay which means
that a .desktop that shouldn't show up does.

I'd be fine with either these entries being thrown out or being fully parsed and
obeyed.
Comment 1 Mark McLoughlin 2005-03-01 17:41:23 UTC
Created attachment 38110 [details] [review]
fix-kde-desktop-entry.patch

This should fix it, it'd be good if you could try it out and confirm
Comment 2 Mark McLoughlin 2005-03-08 18:01:24 UTC
Will be in 2.10.1

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

        Fix bug #168336 - weirdness with .desktop files which
        use [KDE Desktop Entry] as the main group.

        * libmenu/desktop-entries.c: (get_flags_from_key_file),
        (get_categories_from_key_file): use the actual desktop
        entry group name.