summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYaakov Selkowitz <[email protected]>2012-12-20 01:02:15 -0600
committerStefano Karapetsas <[email protected]>2013-01-22 14:10:28 +0100
commitd2c11e9b06b48653e1d0b674eaf8d3230f1ef9bf (patch)
treeef284073a1d6a97b3e5ab95ba123bc8e46f39c1a /src
parentda45dfd031f7d73a359c526868cb6a22a33b0eae (diff)
downloadpython-caja-d2c11e9b06b48653e1d0b674eaf8d3230f1ef9bf.tar.bz2
python-caja-d2c11e9b06b48653e1d0b674eaf8d3230f1ef9bf.tar.xz
Drop support for old script location
Now is a good time as any, with the extension API changing to g-i.
Diffstat (limited to 'src')
-rw-r--r--src/caja-python.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/caja-python.c b/src/caja-python.c
index 3826c1e..a6a7478 100644
--- a/src/caja-python.c
+++ b/src/caja-python.c
@@ -260,15 +260,6 @@ caja_module_initialize(GTypeModule *module)
user_extensions_dir = g_build_filename(g_get_user_data_dir(),
"caja-python", "extensions", NULL);
caja_python_load_dir(module, user_extensions_dir);
-
- // Look in the old local path, ~/.caja/python-extensions
- user_extensions_dir = g_build_filename(g_get_home_dir(),
- ".caja", "python-extensions", NULL);
- caja_python_load_dir(module, user_extensions_dir);
- g_free(user_extensions_dir);
-
- // Look in the old global path, /usr/lib(64)/caja/extensions-2.0/python
- caja_python_load_dir(module, CAJA_EXTENSION_DIR "/python");
}
void