From 1052963824ca986bfe0255f534df68faf576e746 Mon Sep 17 00:00:00 2001
From: Matthew Barnes <mbarnes@redhat.com>
Date: Fri, 18 Apr 2008 20:57:43 +0000
Subject: ** Fixes bug #528817

2008-04-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #528817

	* e-util/e-plugin.c (e_plugin_register_type):
	Fix a typo in the logic.  This might explain why I occasionally
	find Exchange Operations disabled on startup.


svn path=/trunk/; revision=35383
---
 e-util/ChangeLog  | 8 ++++++++
 e-util/e-plugin.c | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

(limited to 'e-util')

diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 8df4256595..73220b574c 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,11 @@
+2008-04-18  Matthew Barnes  <mbarnes@redhat.com>
+
+	** Fixes bug #528817
+
+	* e-plugin.c (e_plugin_register_type):
+	Fix a typo in the logic.  This might explain why I occasionally
+	find Exchange Operations disabled on startup.
+
 2008-04-17  Milan Crha  <mcrha@redhat.com>
 
 	** Part of fix for bug #526739
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index 0ece70a360..d4770915d3 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -604,7 +604,7 @@ e_plugin_register_type(GType type)
 				char *prop_type;
 
 				prop_type = (char *)xmlGetProp(root, (const unsigned char *)"type");
-				if (!strcmp((char *)type, klass->type))
+				if (!strcmp(prop_type, klass->type))
 					add = g_slist_append(add, l->data);
 				xmlFree(prop_type);
 			}
-- 
cgit