summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-19 00:17:12 +0300
committermonsta <[email protected]>2016-12-19 00:17:12 +0300
commit57d968069e61d27240d32e27110bb1e81d6745d3 (patch)
treed71718dfbadfeb5550aea39e4c72ddc48e8a00a2
parenta580d49360011a8c1dcafdf71a8f2596b634a0bd (diff)
downloadeom-57d968069e61d27240d32e27110bb1e81d6745d3.tar.bz2
eom-57d968069e61d27240d32e27110bb1e81d6745d3.tar.xz
plugins engine: enable python plugin loader from libpeas
-rw-r--r--src/eom-plugin-engine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eom-plugin-engine.c b/src/eom-plugin-engine.c
index 0c55731..48d960d 100644
--- a/src/eom-plugin-engine.c
+++ b/src/eom-plugin-engine.c
@@ -120,6 +120,8 @@ eom_plugin_engine_new (void)
engine = EOM_PLUGIN_ENGINE (g_object_new (EOM_TYPE_PLUGIN_ENGINE, NULL));
+ peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
+
user_plugin_path = g_build_filename (eom_util_dot_dir (),
USER_EOM_PLUGINS_LOCATION, NULL);