summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/caja-application.c2
-rw-r--r--src/caja-convert-metadata.c2
-rw-r--r--src/file-manager/fm-directory-view.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/caja-application.c b/src/caja-application.c
index 0d0624a4..415d7bec 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -565,7 +565,7 @@ do_upgrades_once (CajaApplication *application,
mark_desktop_files_trusted ();
}
- metafile_dir = g_build_filename(g_get_home_dir(), ".config", "caja", "metafiles", NULL);
+ metafile_dir = g_build_filename(g_get_user_config_dir(), "caja", "metafiles", NULL);
if (g_file_test (metafile_dir, G_FILE_TEST_IS_DIR))
{
diff --git a/src/caja-convert-metadata.c b/src/caja-convert-metadata.c
index 5ea7a13b..d3968abe 100644
--- a/src/caja-convert-metadata.c
+++ b/src/caja-convert-metadata.c
@@ -359,7 +359,7 @@ main (int argc, char *argv[])
/* Convert all metafiles */
- metafile_dir = g_build_filename (g_get_home_dir (), ".config", "caja", "metafiles", NULL);
+ metafile_dir = g_build_filename (g_get_user_config_dir (), "caja", "metafiles", NULL);
dir = g_dir_open (metafile_dir, 0, NULL);
if (dir)
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index 37639554..3d58a057 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -1646,7 +1646,7 @@ static void set_up_scripts_directory_global(void)
}
else
{
- scripts_directory_path = g_build_filename(g_get_home_dir(), ".config", "caja", "scripts", NULL);
+ scripts_directory_path = g_build_filename(g_get_user_config_dir(), "caja", "scripts", NULL);
}
if (g_mkdir_with_parents(scripts_directory_path, 0755) == 0)
@@ -1660,7 +1660,7 @@ static void set_up_scripts_directory_global(void)
if (g_file_test(nautilus_scripts_path, G_FILE_TEST_IS_DIR) == TRUE)
{
- char* nautilus_syslink = g_build_filename(g_get_home_dir(), ".config", "caja", "scripts", "nautilus", NULL);
+ char* nautilus_syslink = g_build_filename(g_get_user_config_dir(), "caja", "scripts", "nautilus", NULL);
// G_FILE_TEST_IS_REGULAR
/* En caso de que exista el enlace, o algĂșn otro tipo de archivo con
* el mismo nombre, ignoramos. Incluso si es una carpeta. */