background: Avoid repeating colour names

If there's no files loaded, then there's no size. Left-over from
s/description/size/ in gnome-wp-item.c
This commit is contained in:
Bastien Nocera 2010-12-15 13:15:07 +00:00
parent 06fd58b90b
commit f0e4595d9b

View file

@ -271,7 +271,7 @@ void gnome_wp_item_update_size (GnomeWPItem * item,
item->size = NULL;
if (!strcmp (item->filename, "(none)")) {
item->size = g_strdup (item->name);
item->size = g_strdup ("");
} else {
if (gnome_bg_has_multiple_sizes (item->bg) || gnome_bg_changes_with_time (item->bg))
item->size = g_strdup (_("multiple sizes"));