summaryrefslogtreecommitdiff
path: root/mate-dictionary/src
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-04-03 18:01:07 +0200
committerStefano Karapetsas <[email protected]>2012-04-03 18:01:07 +0200
commitc41cfe676bafbded92d3c4b914abcfa4d4443641 (patch)
tree07bb5329717fe67fdcba37e250ce03b3f6fd5c1b /mate-dictionary/src
parent71babe175bd2940ef88d88659f8b1410bc6b23c6 (diff)
downloadmate-utils-c41cfe676bafbded92d3c4b914abcfa4d4443641.tar.bz2
mate-utils-c41cfe676bafbded92d3c4b914abcfa4d4443641.tar.xz
mate-dictionary: port from ~/.mate2 to ~/.config/mate
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);