diff options
author | Christian Dywan <christian@twotoasts.de> | 2019-02-18 21:13:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-18 21:13:25 +0100 |
commit | e151b51173c38d014c79c8ab0b4735ed2ed9a009 (patch) | |
tree | 44cc251c31e9d933465bfda26fa3e101c49893df | |
parent | 440b83f16817ed25e738af3c311d8b3b54f2a86a (diff) | |
download | midori-git-e151b51173c38d014c79c8ab0b4735ed2ed9a009.tar.gz |
Use `PLUGINDIR` tolocale system-wide plugins in the web process (#257)
Fixes: #218
-rw-r--r-- | core/app.vala | 2 |
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 ()); }); |