summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-directory-view.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-04-18 11:19:51 +0300
committermonsta <[email protected]>2017-04-18 11:19:51 +0300
commited842baac4f438a90bd6214020d2363241171545 (patch)
treeb6c53a05b67ee00e489ac7a4d7d976bd6e6803a9 /src/file-manager/fm-directory-view.c
parent4a8a1305182690761993f3a86d6b72b3729fbb75 (diff)
downloadcaja-ed842baac4f438a90bd6214020d2363241171545.tar.bz2
caja-ed842baac4f438a90bd6214020d2363241171545.tar.xz
don't check nonexistent MATE22_USER_DIR env var
another case of excessive gnome -> mate renaming back in 2011
Diffstat (limited to 'src/file-manager/fm-directory-view.c')
-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)
{