summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-18 01:41:06 +0200
committerJasmine Hassan <[email protected]>2012-12-18 01:41:06 +0200
commit0d03694b45d1e6e19b0a1e08e8e67d2f9af42273 (patch)
tree1c13c16f08065f9ccda83a2a50cfb00c7eed7873
parent47426c90d10e9f738ecf89f35db94ca8deff55e0 (diff)
downloadmate-desktop-0d03694b45d1e6e19b0a1e08e8e67d2f9af42273.tar.bz2
mate-desktop-0d03694b45d1e6e19b0a1e08e8e67d2f9af42273.tar.xz
[mate-bg] change cache dir from "wallpaper" to "mate/background"
-rw-r--r--libmate-desktop/mate-bg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c
index 270ae6c..7877b9c 100644
--- a/libmate-desktop/mate-bg.c
+++ b/libmate-desktop/mate-bg.c
@@ -60,6 +60,8 @@ Authors: Soren Sandmann <[email protected]>
#define mate_bg_crossfade_set_end_surface mate_bg_crossfade_set_end_pixmap
#endif
+#define MATE_BG_CACHE_DIR "mate/background"
+
/* We keep the large pixbufs around if the next update
in the slideshow is less than 60 seconds away */
#define KEEP_EXPENSIVE_CACHE_SECS 60
@@ -626,7 +628,7 @@ mate_bg_get_filename (MateBG *bg)
static inline gchar *
get_wallpaper_cache_dir ()
{
- return g_build_filename (g_get_user_cache_dir(), "wallpaper", NULL);
+ return g_build_filename (g_get_user_cache_dir(), MATE_BG_CACHE_DIR, NULL);
}
static inline gchar *