[gnome-settings-daemon/mojito-cleanup: 1/3] Add the mojito cache to the housekeeping check
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/mojito-cleanup: 1/3] Add the mojito cache to the housekeeping check
- Date: Fri, 16 Apr 2010 15:43:54 +0000 (UTC)
commit fb7f9c6ecc096216f070eeb6436720286d5e1f9d
Author: Ross Burton <ross linux intel com>
Date: Thu Jul 9 14:49:46 2009 +0100
Add the mojito cache to the housekeeping check
plugins/housekeeping/gsd-housekeeping-manager.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/plugins/housekeeping/gsd-housekeeping-manager.c b/plugins/housekeeping/gsd-housekeeping-manager.c
index f84cfad..b798531 100644
--- a/plugins/housekeeping/gsd-housekeeping-manager.c
+++ b/plugins/housekeeping/gsd-housekeeping-manager.c
@@ -215,6 +215,13 @@ purge_thumbnail_cache (void)
files = read_dir_for_purge (path, files);
g_free (path);
+ path = g_build_filename (g_get_user_cache_dir (),
+ "mojito",
+ "thumbnails",
+ NULL);
+ files = read_dir_for_purge (path, files);
+ g_free (path);
+
g_get_current_time (¤t_time);
purge_data.now = current_time.tv_sec;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]