aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-23 05:07:52 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-27 20:58:50 +0800
commit6affbe33e90b4157380eff3dad6a9654c9a24443 (patch)
treeb82de645ced44be6c6aa28a0b0759ba17afb1624 /e-util/e-util.c
parenteba9b45f9e0e2a7f1a8d2d79f14d9e5f3aded19e (diff)
downloadgsoc2013-evolution-6affbe33e90b4157380eff3dad6a9654c9a24443.tar.gz
gsoc2013-evolution-6affbe33e90b4157380eff3dad6a9654c9a24443.tar.zst
gsoc2013-evolution-6affbe33e90b4157380eff3dad6a9654c9a24443.zip
Migrate ~/.evolution to XDG base directories.
Migration runs just before the main loop starts. It's just a sequence of local directory and file renames.
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r--e-util/e-util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 7d45709d2d..3f27c52941 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -1301,8 +1301,6 @@ get_font_options (void)
/* Evolution Locks for crash recovery */
-#define LOCK_FILE ".running"
-
static const gchar *
get_lock_filename (void)
{
@@ -1310,7 +1308,7 @@ get_lock_filename (void)
if (G_UNLIKELY (filename == NULL))
filename = g_build_filename (
- e_get_user_data_dir (), LOCK_FILE, NULL);
+ e_get_user_config_dir (), ".running", NULL);
return filename;
}