[gnome-control-center] background: Avoid repeating colour names
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] background: Avoid repeating colour names
- Date: Wed, 15 Dec 2010 13:15:55 +0000 (UTC)
commit f0e4595d9b79d4d8722871368deac36d59de98c8
Author: Bastien Nocera <hadess hadess net>
Date: Wed Dec 15 13:15:07 2010 +0000
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
panels/background/gnome-wp-item.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/background/gnome-wp-item.c b/panels/background/gnome-wp-item.c
index 9685c60..4b03274 100644
--- a/panels/background/gnome-wp-item.c
+++ b/panels/background/gnome-wp-item.c
@@ -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"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]