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 432096 - SLAB should use "Name" and "Comment" fields from .desktop files
SLAB should use "Name" and "Comment" fields from .desktop files
Status: RESOLVED DUPLICATE of bug 426190
Product: gnome-main-menu
Classification: Other
Component: general
unspecified
Other All
: Normal trivial
: ---
Assigned To: GNOME main menu maintainers
GNOME main menu maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-21 23:24 UTC by Will Farrington
Modified: 2007-05-30 20:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Will Farrington 2007-04-21 23:24:31 UTC
Please describe the problem:
Currently SLAB uses both Name and GenericName. The result is that GNOME HIG-compliant .desktop files are rendered in such a way that you get redundant information that looks like this:

 Firefox Web Browser
 Web Browser

What would make sense is for SLAB to start using the Comment field, so that the same desktop file would appear like so:

 Firefox Web Browser
 Browse the World Wide Web

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Karl Lattimer 2007-05-01 17:06:21 UTC
This looks like a duplicate/extension of #426196 which I posted, and wrote a patch for. Although I'm not sure if its perfect, from this comment maybe this line and related should be GenericName not Description;

{ "Description",  G_TYPE_STRING,  FALSE, FALSE  }

?

This bug is filed against gnome-panel as it adds functionality for adding the descriptions to slab menu items via the provided panel-ditem-editor, which seems to be the only location where the inconsistency is lacking. See the related nautilus bug, as I originally spotted this while using the properties of a .desktop file in nautilus to change the descriptions as on create this isn't possible.

Someone please review the patch, make sure its correct... If the generic name issue is a problem then only two lines in the .patch need changing.

Comment 2 Jim Krehl 2007-05-30 20:00:23 UTC

*** This bug has been marked as a duplicate of 426190 ***