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.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index 16a53780..c37da477 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -1657,16 +1657,7 @@ static void set_up_scripts_directory_global(void)
}
char* scripts_directory_path;
- const char* override = g_getenv ("MATE22_USER_DIR"); //TODO: remove?
-
- if (override)
- {
- scripts_directory_path = g_build_filename(override, "caja", "scripts", NULL);
- }
- else
- {
- scripts_directory_path = g_build_filename(g_get_user_config_dir(), "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)
{