summaryrefslogtreecommitdiff
path: root/src/file-manager
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-manager')
-rw-r--r--src/file-manager/fm-directory-view.c4
1 files changed, 2 insertions, 2 deletions
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. */