Commit dfae50a5 authored by Magnus Boman's avatar Magnus Boman Committed by Federico Mena Quintero

bnc224885 - Don't display duplicated description in app tiles

2008-05-09  Magnus Boman  <captain.magnus@gmail.com>

        https://bugzilla.novell.com/show_bug.cgi?id=224885 -
        Don't display both generic name and description if they are the same.

        * libslab/application-tile.c (application_tile_setup): Set subheader
        to NULL if description is the same as generic name.
Signed-off-by: 's avatarFederico Mena Quintero <federico@gnu.org>

svn path=/trunk/; revision=462
parent e944721f
2008-05-09 Magnus Boman <captain.magnus@gmail.com>
https://bugzilla.novell.com/show_bug.cgi?id=224885 -
Don't display both generic name and description if they are the same.
* libslab/application-tile.c (application_tile_setup): Set subheader
to NULL if description is the same as generic name.
2008-04-28 Scott Reeves <sreeves@novell.com>
* bookmark-agent.c:
Fix for BNC#308998 - missing translation in menu
......
......@@ -330,7 +330,7 @@ application_tile_setup (ApplicationTile *this, const gchar *gconf_prefix)
atk_object_set_description (accessible, desc);
header = create_header (name);
if (desc && priv->show_generic_name) /*if no GenericName then just show and center the Name */
if (desc && priv->show_generic_name && strcmp(name, desc) != 0) /*if no GenericName then just show and center the Name */
subheader = create_subheader (desc);
else
subheader = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment