Made username match with no domain match be vague instead of partial.

2002-01-18  Christopher James Lahey  <clahey@ximian.com>

	* 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
This commit is contained in:
Christopher James Lahey
2002-01-18 15:52:28 +00:00
committed by Chris Lahey
parent a30eed771c
commit 1a9925e251
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-01-18 Christopher James Lahey <clahey@ximian.com>
* 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 <clahey@ximian.com>
* gui/component/addressbook.c (view_contact_cb): New verb to open

View File

@ -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;
}