summaryrefslogtreecommitdiff
path: root/mate-dictionary/src
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/src')
-rw-r--r--mate-dictionary/src/gdict-common.c4
-rw-r--r--mate-dictionary/src/gdict-source-dialog.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/mate-dictionary/src/gdict-common.c b/mate-dictionary/src/gdict-common.c
index 8f106c18..bdab8224 100644
--- a/mate-dictionary/src/gdict-common.c
+++ b/mate-dictionary/src/gdict-common.c
@@ -44,8 +44,8 @@ gdict_get_data_dir (void)
{
gchar *retval;
- retval = g_build_filename (g_get_home_dir (),
- ".mate2",
+ retval = g_build_filename (g_get_user_config_dir (),
+ ".mate",
"mate-dictionary",
NULL);
diff --git a/mate-dictionary/src/gdict-source-dialog.c b/mate-dictionary/src/gdict-source-dialog.c
index 2a3014ab..b2b974d0 100644
--- a/mate-dictionary/src/gdict-source-dialog.c
+++ b/mate-dictionary/src/gdict-source-dialog.c
@@ -346,8 +346,8 @@ build_new_source (GdictSourceDialog *dialog)
}
name = g_strdup_printf ("%s.desktop", gdict_source_get_name (source));
- filename = g_build_filename (g_get_home_dir (),
- ".mate2",
+ filename = g_build_filename (g_get_user_config_dir (),
+ ".mate",
"mate-dictionary",
name,
NULL);
@@ -439,8 +439,8 @@ save_source (GdictSourceDialog *dialog)
}
name = g_strdup_printf ("%s.desktop", gdict_source_get_name (source));
- filename = g_build_filename (g_get_home_dir (),
- ".mate2",
+ filename = g_build_filename (g_get_user_config_dir (),
+ ".mate",
"mate-dictionary",
name,
NULL);