diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-29 01:22:26 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-29 01:22:26 +0800 |
commit | 432c2796c9a56b9cab8471a372d621ca87bf6835 (patch) | |
tree | 1ce04185a2438d3846a0f431a1dbb85cfc187c2f | |
parent | 7ca5681a186857349762f2c06e08dedaee1287a3 (diff) | |
download | gsoc2013-evolution-432c2796c9a56b9cab8471a372d621ca87bf6835.tar gsoc2013-evolution-432c2796c9a56b9cab8471a372d621ca87bf6835.tar.gz gsoc2013-evolution-432c2796c9a56b9cab8471a372d621ca87bf6835.tar.bz2 gsoc2013-evolution-432c2796c9a56b9cab8471a372d621ca87bf6835.tar.lz gsoc2013-evolution-432c2796c9a56b9cab8471a372d621ca87bf6835.tar.xz gsoc2013-evolution-432c2796c9a56b9cab8471a372d621ca87bf6835.tar.zst gsoc2013-evolution-432c2796c9a56b9cab8471a372d621ca87bf6835.zip |
Migrate ~/.evolution/cache/tmp.
-rw-r--r-- | 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 faf8435928..f8e7e21794 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); |