summaryrefslogtreecommitdiff
path: root/src/plugins/Plugins.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-10-01 07:17:16 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-10-01 07:17:16 +0200
commit71137cc5832110d91599d68790402cf196762ed3 (patch)
treee7985bbfb6ca50ea738b38a9f852ee51431d48a7 /src/plugins/Plugins.vala
parent8ae550d463720d5d1c0e253af29843ff15de1a54 (diff)
parent1e92964463e564bb3359a7110342182fcfdc67f2 (diff)
Merge branch 'release/debian/0.30.1-1'debian/0.30.1-1
Diffstat (limited to 'src/plugins/Plugins.vala')
-rw-r--r--src/plugins/Plugins.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/Plugins.vala b/src/plugins/Plugins.vala
index 5f6613c..6aff461 100644
--- a/src/plugins/Plugins.vala
+++ b/src/plugins/Plugins.vala
@@ -112,6 +112,10 @@ private Gee.HashSet<string> core_ids;
public void init() throws Error {
search_dirs = new File[0];
+ unowned string plugin_dir = Environment.get_variable("SHOTWELL_PLUGIN_PATH");
+ if (plugin_dir != null && plugin_dir != "") {
+ search_dirs += File.new_for_commandline_arg(plugin_dir);
+ }
search_dirs += AppDirs.get_user_plugins_dir();
search_dirs += AppDirs.get_system_plugins_dir();