summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2019-02-18 21:13:25 +0100
committerGitHub <noreply@github.com>2019-02-18 21:13:25 +0100
commite151b51173c38d014c79c8ab0b4735ed2ed9a009 (patch)
tree44cc251c31e9d933465bfda26fa3e101c49893df
parent440b83f16817ed25e738af3c311d8b3b54f2a86a (diff)
downloadmidori-git-e151b51173c38d014c79c8ab0b4735ed2ed9a009.tar.gz
Use `PLUGINDIR` tolocale system-wide plugins in the web process (#257)
Fixes: #218
-rw-r--r--core/app.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/app.vala b/core/app.vala
index 4c33b962..d4b25c40 100644
--- a/core/app.vala
+++ b/core/app.vala
@@ -120,7 +120,7 @@ namespace Midori {
var builtin_path = exec_path.get_parent ().get_child ("extensions");
if (!builtin_path.query_exists (null)) {
// System-wide plugins
- builtin_path = exec_path.get_parent ().get_parent ().get_child ("lib").get_child (Config.PROJECT_NAME);
+ builtin_path = File.new_for_path (Config.PLUGINDIR);
}
context.set_web_extensions_initialization_user_data (builtin_path.get_path ());
});