aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-06-03 01:32:19 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-06-03 01:32:19 +0800
commita2e4f2a688b391cd9b0a7800ea6bb86e9194c1db (patch)
tree32eee93b5ec723c290451ba4d3eecf0d85bcaf8a /shell
parenta5abdac57776097feb6da3d7ef0b36aa5b7b8593 (diff)
downloadgsoc2013-evolution-a2e4f2a688b391cd9b0a7800ea6bb86e9194c1db.tar
gsoc2013-evolution-a2e4f2a688b391cd9b0a7800ea6bb86e9194c1db.tar.gz
gsoc2013-evolution-a2e4f2a688b391cd9b0a7800ea6bb86e9194c1db.tar.bz2
gsoc2013-evolution-a2e4f2a688b391cd9b0a7800ea6bb86e9194c1db.tar.lz
gsoc2013-evolution-a2e4f2a688b391cd9b0a7800ea6bb86e9194c1db.tar.xz
gsoc2013-evolution-a2e4f2a688b391cd9b0a7800ea6bb86e9194c1db.tar.zst
gsoc2013-evolution-a2e4f2a688b391cd9b0a7800ea6bb86e9194c1db.zip
Fix for bug 341334
svn path=/trunk/; revision=32070
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-component-registry.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index f7ebfa58ce..ca7074a405 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,11 @@
+2006-05-25 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #341334
+
+ * e-component-registry.c: (e_component_registry_peek_info): Check for
+ the presence of the fields before comparing. Exchange component wont
+ have these alias/etc.
+
2006-05-15 Li Yuan <li.yuan@sun.com>
Fixes #341525
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index fd820fdbcb..12ccd82c5a 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -314,11 +314,11 @@ e_component_registry_peek_info (EComponentRegistry *registry,
switch (field) {
case ECR_FIELD_ID:
- if (strcmp (info->id, key) == 0)
+ if (info->id && (strcmp (info->id, key) == 0))
return info;
break;
case ECR_FIELD_ALIAS:
- if (strcmp (info->alias, key) == 0)
+ if (info->alias && (strcmp (info->alias, key) == 0))
return info;
break;
case ECR_FIELD_SCHEMA: