diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-04-30 12:53:30 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-06-30 00:42:34 -0400 |
commit | 42afb1cff97489e67f57ebcb39ecd7ee30c4b61d (patch) | |
tree | d441d0b090c53a9afdc3aaf2a04334dfcce5e772 /daemon/gvfsbackend.c | |
parent | 5e839711a36b4e145f3ba3033f2d0e3128df5f7a (diff) |
Update to use XDG Cache Home for thumbnails
https://bugzilla.gnome.org/show_bug.cgi?id=675170
Diffstat (limited to 'daemon/gvfsbackend.c')
-rw-r--r-- | daemon/gvfsbackend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/gvfsbackend.c b/daemon/gvfsbackend.c index ced4fd9b..bab7718a 100644 --- a/daemon/gvfsbackend.c +++ b/daemon/gvfsbackend.c @@ -458,8 +458,8 @@ get_thumbnail_attributes (const char *uri, basename = g_strconcat (g_checksum_get_string (checksum), ".png", NULL); g_checksum_free (checksum); - filename = g_build_filename (g_get_home_dir (), - ".thumbnails", "normal", basename, + filename = g_build_filename (g_get_user_cache_dir (), + "thumbnails", "normal", basename, NULL); if (g_file_test (filename, G_FILE_TEST_IS_REGULAR)) @@ -467,8 +467,8 @@ get_thumbnail_attributes (const char *uri, else { g_free (filename); - filename = g_build_filename (g_get_home_dir (), - ".thumbnails", "fail", + filename = g_build_filename (g_get_user_cache_dir (), + "thumbnails", "fail", "gnome-thumbnail-factory", basename, NULL); |