diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-01-18 23:52:28 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-01-18 23:52:28 +0800 |
commit | 1a9925e2518ab4ce3dea5df1c14f33c0387c90ff (patch) | |
tree | 49b7b68ec558654fcda5a597774ba9ff3e68499f /addressbook | |
parent | a30eed771c00ccde2cd7a32c3f0a28057f247f84 (diff) | |
download | gsoc2013-evolution-1a9925e2518ab4ce3dea5df1c14f33c0387c90ff.tar.gz gsoc2013-evolution-1a9925e2518ab4ce3dea5df1c14f33c0387c90ff.tar.zst gsoc2013-evolution-1a9925e2518ab4ce3dea5df1c14f33c0387c90ff.zip |
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
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-card-compare.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index b5b00450de..507ee7ed35 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,11 @@ 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 a bunch of cards. 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; } |