[mate-settings-daemon/f20] add mate-settings-daemon_revert-thumbnailer-commit.patch

Wolfgang Ulbrich raveit65 at fedoraproject.org
Sat Jan 4 15:11:24 UTC 2014


commit 2b16385172f4b80e639d3aadf65ba4c06b0817ae
Author: raveit65 <chat-to-me at raveit.de>
Date:   Sat Jan 4 16:11:20 2014 +0100

    add mate-settings-daemon_revert-thumbnailer-commit.patch

 ...settings-daemon_revert-thumbnailer-commit.patch |   41 ++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/mate-settings-daemon_revert-thumbnailer-commit.patch b/mate-settings-daemon_revert-thumbnailer-commit.patch
new file mode 100644
index 0000000..ee76bd9
--- /dev/null
+++ b/mate-settings-daemon_revert-thumbnailer-commit.patch
@@ -0,0 +1,41 @@
+diff -upr mate-settings-daemon-1.6.2-orig/plugins/housekeeping/msd-housekeeping-manager.c mate-settings-daemon-1.6.2/plugins/housekeeping/msd-housekeeping-manager.c
+--- mate-settings-daemon-1.6.2-orig/plugins/housekeeping/msd-housekeeping-manager.c	2013-12-16 23:09:23.000000000 +0100
++++ mate-settings-daemon-1.6.2/plugins/housekeeping/msd-housekeeping-manager.c	2014-01-04 15:38:38.912536866 +0100
+@@ -203,37 +203,22 @@ purge_thumbnail_cache (MsdHousekeepingMa
+ 
+         g_debug ("housekeeping: checking thumbnail cache size and freshness");
+ 
+-#if GLIB_CHECK_VERSION (2, 34, 0)
+-        path = g_build_filename (g_get_user_cache_dir (),
+-                                 "thumbnails",
+-#else
+         path = g_build_filename (g_get_home_dir (),
+                                  ".thumbnails",
+-#endif
+                                  "normal",
+                                  NULL);
+         files = read_dir_for_purge (path, NULL);
+         g_free (path);
+ 
+-#if GLIB_CHECK_VERSION (2, 34, 0)
+-        path = g_build_filename (g_get_user_cache_dir (),
+-                                 "thumbnails",
+-#else
+         path = g_build_filename (g_get_home_dir (),
+                                  ".thumbnails",
+-#endif
+                                  "large",
+                                  NULL);
+         files = read_dir_for_purge (path, files);
+         g_free (path);
+ 
+-#if GLIB_CHECK_VERSION (2, 34, 0)
+-        path = g_build_filename (g_get_user_cache_dir (),
+-                                 "thumbnails",
+-#else
+         path = g_build_filename (g_get_home_dir (),
+                                  ".thumbnails",
+-#endif
+                                  "fail",
+                                  "mate-thumbnail-factory",
+                                  NULL);


More information about the scm-commits mailing list