summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2004-09-29 18:13:17 +0000
committerRodney Dawes <dobey@src.gnome.org>2004-09-29 18:13:17 +0000
commit1e26b19847280a7f54b7070f6db2c6bcb4084941 (patch)
treef4cc1ecf5cdf4fb7e81930bedd96eb259ebfd9aa
parentd19487501e2fe15ffa615bb018b73f81dbbd1bb5 (diff)
downloadgnome-control-center-gnome-2-6.tar.gz
Unescape the filename so that we can laod the thumbnail and set the gconfgnome-2-6
2004-09-29 Rodney Dawes <dobey@novell.com> * gnome-wp-capplet.c (gnome_wp_add_image): Unescape the filename so that we can laod the thumbnail and set the gconf key properly Fixes #154003
-rw-r--r--capplets/background/ChangeLog7
-rw-r--r--capplets/background/gnome-wp-capplet.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/capplets/background/ChangeLog b/capplets/background/ChangeLog
index 4ada5ae0f..2c1fcc363 100644
--- a/capplets/background/ChangeLog
+++ b/capplets/background/ChangeLog
@@ -1,3 +1,10 @@
+2004-09-29 Rodney Dawes <dobey@novell.com>
+
+ * gnome-wp-capplet.c (gnome_wp_add_image): Unescape the filename so
+ that we can laod the thumbnail and set the gconf key properly
+
+ Fixes #154003
+
2004-09-22 Rodney Dawes <dobey@novell.com>
* gnome-wp-xml.c (gnome_wp_xml_laod_list):
diff --git a/capplets/background/gnome-wp-capplet.c b/capplets/background/gnome-wp-capplet.c
index 971416a83..ccae937e3 100644
--- a/capplets/background/gnome-wp-capplet.c
+++ b/capplets/background/gnome-wp-capplet.c
@@ -101,7 +101,7 @@ static void gnome_wp_add_image (GnomeWPCapplet * capplet,
item = g_new0 (GnomeWPItem, 1);
- item->filename = g_strdup (filename);
+ item->filename = gnome_vfs_unescape_string_for_display (filename);
item->fileinfo = gnome_wp_info_new (item->filename, capplet->thumbs);