From 1a9925e2518ab4ce3dea5df1c14f33c0387c90ff Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 18 Jan 2002 15:52:28 +0000 Subject: Made username match with no domain match be vague instead of partial. 2002-01-18 Christopher James Lahey * backend/ebook/e-card-compare.c: Made username match with no domain match be vague instead of partial. Fixes Ximian bug #13612. svn path=/trunk/; revision=15356 --- addressbook/ChangeLog | 6 ++++++ addressbook/backend/ebook/e-card-compare.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index b5b00450de..507ee7ed35 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2002-01-18 Christopher James Lahey + + * backend/ebook/e-card-compare.c: Made username match with no + domain match be vague instead of partial. Fixes Ximian bug + #13612. + 2002-01-18 Christopher James Lahey * gui/component/addressbook.c (view_contact_cb): New verb to open diff --git a/addressbook/backend/ebook/e-card-compare.c b/addressbook/backend/ebook/e-card-compare.c index 28e2b1e0c6..a022c4e394 100644 --- a/addressbook/backend/ebook/e-card-compare.c +++ b/addressbook/backend/ebook/e-card-compare.c @@ -424,7 +424,7 @@ compare_email_addresses (const gchar *addr1, const gchar *addr2) return E_CARD_MATCH_NOT_APPLICABLE; if (match_email_username (addr1, addr2)) - return match_email_hostname (addr1, addr2) ? E_CARD_MATCH_EXACT : E_CARD_MATCH_PARTIAL; + return match_email_hostname (addr1, addr2) ? E_CARD_MATCH_EXACT : E_CARD_MATCH_VAGUE; return E_CARD_MATCH_NONE; } -- cgit v1.2.3