From 4d5919868e1df48d6fbde3a870ccad5225887160 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 6 Aug 2007 14:51:28 +0000 Subject: 2007-08-06 mcrha Partial fix for bug #427469 svn path=/trunk/; revision=33959 --- addressbook/importers/evolution-vcard-importer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addressbook/importers/evolution-vcard-importer.c') diff --git a/addressbook/importers/evolution-vcard-importer.c b/addressbook/importers/evolution-vcard-importer.c index cc614398db..4fc02e18f4 100644 --- a/addressbook/importers/evolution-vcard-importer.c +++ b/addressbook/importers/evolution-vcard-importer.c @@ -177,7 +177,7 @@ vcard_import_contact(VCardImporter *gci, EContact *contact) } /* - Deal with ADR attributes that don't conform to what we need. + Deal with ADR and EMAIL attributes that don't conform to what we need. if HOME or WORK isn't specified, add TYPE=OTHER. */ @@ -187,8 +187,8 @@ vcard_import_contact(VCardImporter *gci, EContact *contact) gboolean no_location = TRUE; GList *params, *param; - if (g_ascii_strcasecmp (e_vcard_attribute_get_name (a), - EVC_ADR)) + if (g_ascii_strcasecmp (e_vcard_attribute_get_name (a), EVC_ADR) && + g_ascii_strcasecmp (e_vcard_attribute_get_name (a), EVC_EMAIL)) continue; params = e_vcard_attribute_get_params (a); -- cgit v1.2.3