aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-plugin.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 7064a7df57..7e3af81bc8 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-20 Sankar P <psankar@novell.com>
+
+ * e-plugin.c: (ep_load):
+ Changed a stupid conditional statement,
+ in the previous commit.
+
2008-03-19 Sankar P <psankar@novell.com>
** Fix for bug #496839
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index 4f07f1b022..0ece70a360 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -412,7 +412,7 @@ 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"))
ep->flags |= E_PLUGIN_FLAGS_SYSTEM_PLUGIN;
else
ep->flags &= ~E_PLUGIN_FLAGS_SYSTEM_PLUGIN;