summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2023-01-23 22:00:59 +0100
committerJan-Michael Brummer <jan.brummer@tabos.org>2023-03-27 16:31:58 +0200
commit21dd5679dd642aa6cb9e120de2304ba19146d2c4 (patch)
tree7961fd36412b7ed0c9b1375a9504816f7ebd27c0
parent00aa2047580d5afba06769bdd89c9f631859a51e (diff)
downloadlibproxy-git-21dd5679dd642aa6cb9e120de2304ba19146d2c4.tar.gz
Filter config-plugins only (#11)
-rw-r--r--src/backend/px-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/px-manager.c b/src/backend/px-manager.c
index 01f2697..bf945f0 100644
--- a/src/backend/px-manager.c
+++ b/src/backend/px-manager.c
@@ -86,7 +86,7 @@ px_manager_constructed (GObject *object)
if (!peas_plugin_info_is_loaded (info)) {
/* In case user requested a specific module, just load that one */
- if (self->config_plugin) {
+ if (self->config_plugin && g_str_has_prefix (peas_plugin_info_get_module_name (info), "config-")) {
if (g_strcmp0 (peas_plugin_info_get_module_name (info), self->config_plugin) == 0)
peas_engine_load_plugin (self->engine, info);
} else {