From 1e26b19847280a7f54b7070f6db2c6bcb4084941 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Wed, 29 Sep 2004 18:13:17 +0000 Subject: Unescape the filename so that we can laod the thumbnail and set the gconf 2004-09-29 Rodney Dawes * 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 --- capplets/background/ChangeLog | 7 +++++++ capplets/background/gnome-wp-capplet.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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); -- cgit v1.2.1