[evolution-patches] [addressbook] Patch for Bug #315034



Hi

This patch fixes Bug #315034

thanks

devashish sharma
Index: addressbook/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1990
diff -u -p -r1.1990 ChangeLog
--- addressbook/ChangeLog	26 Aug 2005 05:39:33 -0000	1.1990
+++ addressbook/ChangeLog	8 Sep 2005 10:25:12 -0000
@@ -1,3 +1,11 @@
+2005-09-8   Devashish Sharma <sdevashish novell com>
+
+	* gui/merging/eab-contact-compare.c
+	(name_fragment_match_with_synonyms): Changed name compare logic where
+	it matches names with starting part same. (it matches rob and
+	robert).
+	Fixes #315034.
+
 2005-08-26  Devashish Sharma <sdevashish novell com>
 
 	* gui/widgets/e-addressbook-view.etspec: In ETableSpecification source
Index: addressbook/gui/merging/eab-contact-compare.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/merging/eab-contact-compare.c,v
retrieving revision 1.11
diff -u -p -r1.11 eab-contact-compare.c
--- addressbook/gui/merging/eab-contact-compare.c	22 Aug 2005 05:38:52 -0000	1.11
+++ addressbook/gui/merging/eab-contact-compare.c	8 Sep 2005 10:14:44 -0000
@@ -115,7 +115,7 @@ name_fragment_match_with_synonyms (const
 	if (!(a && b && *a && *b))
 		return FALSE;
 
-	if (name_fragment_match (a, b, strict))
+	if(! e_utf8_casefold_collate(a, b))	
 		return TRUE;
 
 	/* Check for nicknames.  Yes, the linear search blows. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]