[evolution] Migrate ~/.evolution/cache/tmp.



commit 432c2796c9a56b9cab8471a372d621ca87bf6835
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Jul 28 13:22:26 2010 -0400

    Migrate ~/.evolution/cache/tmp.

 shell/e-shell-migrate.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c
index faf8435..f8e7e21 100644
--- a/shell/e-shell-migrate.c
+++ b/shell/e-shell-migrate.c
@@ -184,6 +184,12 @@ shell_xdg_migrate_cache_dir (EShell *shell,
 	g_free (old_filename);
 	g_free (new_filename);
 
+	old_filename = g_build_filename (old_cache_dir, "tmp", NULL);
+	new_filename = g_build_filename (new_cache_dir, "tmp", NULL);
+	shell_xdg_migrate_rename (old_filename, new_filename);
+	g_free (old_filename);
+	g_free (new_filename);
+
 	/* Try to remove the old cache directory.  Good chance this will
 	 * fail on the first try, since E-D-S puts stuff here too. */
 	shell_xdg_migrate_rmdir (old_cache_dir);



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