GNOME Bugzilla – Bug 432096
SLAB should use "Name" and "Comment" fields from .desktop files
Last modified: 2007-05-30 20:00:23 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:
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.
*** This bug has been marked as a duplicate of 426190 ***