aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index b22c59b5f9..85c1edb060 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -470,9 +470,10 @@ ep_load(const char *filename, int load_level)
/* README: May be we can use load_levels to achieve the same thing.
But it may be confusing for a plugin writer */
is_system_plugin = e_plugin_xml_prop (root, "system_plugin");
- if (is_system_plugin && !strcmp (is_system_plugin, "true"))
+ if (is_system_plugin && !strcmp (is_system_plugin, "true")) {
+ e_plugin_enable (ep, TRUE);
ep->flags |= E_PLUGIN_FLAGS_SYSTEM_PLUGIN;
- else
+ } else
ep->flags &= ~E_PLUGIN_FLAGS_SYSTEM_PLUGIN;
g_free (is_system_plugin);