[gnome-control-center] background: Use correct cache directory



commit 1933bfdf176fa48b27e70c2c3d541792db070f10
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 14 11:16:15 2011 +0000

    background: Use correct cache directory

 panels/background/cc-background-panel.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index 015afbc..7538713 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -455,10 +455,7 @@ backgrounds_changed_cb (GtkIconView       *icon_view,
       gchar *cache_path;
       GdkPixbuf *pixbuf;
 
-      /* FIXME we want a URI here */
-      cache_path = g_build_filename (g_get_user_cache_dir (),
-                                     "gnome-background",
-                                     NULL);
+      cache_path = bg_pictures_get_cache_path ();
 
       source = g_file_new_for_uri (cc_background_item_get_source_url (item));
       dest = g_file_new_for_path (cache_path);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]