aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/merging
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-08-17 18:29:06 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-08-17 18:29:06 +0800
commit8b340ced999feeeaeb856ca0a414db7ffc20e645 (patch)
tree3eff481b02ed70c75b9a6cdfdd7b34c7c01136ff /addressbook/gui/merging
parent4d1961b7f6ca997275bac01ee86b82426b6ca37f (diff)
downloadgsoc2013-evolution-8b340ced999feeeaeb856ca0a414db7ffc20e645.tar
gsoc2013-evolution-8b340ced999feeeaeb856ca0a414db7ffc20e645.tar.gz
gsoc2013-evolution-8b340ced999feeeaeb856ca0a414db7ffc20e645.tar.bz2
gsoc2013-evolution-8b340ced999feeeaeb856ca0a414db7ffc20e645.tar.lz
gsoc2013-evolution-8b340ced999feeeaeb856ca0a414db7ffc20e645.tar.xz
gsoc2013-evolution-8b340ced999feeeaeb856ca0a414db7ffc20e645.tar.zst
gsoc2013-evolution-8b340ced999feeeaeb856ca0a414db7ffc20e645.zip
While adding new contact, during the duplicate contact check, not comparing
the email id of new contact with the email ids of contact lists. svn path=/trunk/; revision=30145
Diffstat (limited to 'addressbook/gui/merging')
-rw-r--r--addressbook/gui/merging/eab-contact-compare.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/merging/eab-contact-compare.c b/addressbook/gui/merging/eab-contact-compare.c
index 4244f3fbff..5cfb8af0e2 100644
--- a/addressbook/gui/merging/eab-contact-compare.c
+++ b/addressbook/gui/merging/eab-contact-compare.c
@@ -561,7 +561,8 @@ eab_contact_compare (EContact *contact1, EContact *contact2)
result = EAB_CONTACT_MATCH_NONE;
result = combine_comparisons (result, eab_contact_compare_name (contact1, contact2));
result = combine_comparisons (result, eab_contact_compare_nickname (contact1, contact2));
- result = combine_comparisons (result, eab_contact_compare_email (contact1, contact2));
+ if(!e_contact_get (contact2, E_CONTACT_IS_LIST))
+ result = combine_comparisons (result, eab_contact_compare_email (contact1, contact2));
result = combine_comparisons (result, eab_contact_compare_address (contact1, contact2));
result = combine_comparisons (result, eab_contact_compare_telephone (contact1, contact2));
result = combine_comparisons (result, eab_contact_compare_file_as (contact1, contact2));