projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
On showing the check names "select contact" dialog, filter properly case.
[modest]
/
src
/
hildon2
/
modest-address-book.c
diff --git
a/src/hildon2/modest-address-book.c
b/src/hildon2/modest-address-book.c
index
05c2b86
..
d6d06c0
100644
(file)
--- a/
src/hildon2/modest-address-book.c
+++ b/
src/hildon2/modest-address-book.c
@@
-38,6
+38,7
@@
#include <libebook/e-vcard.h>
#include "modest-hildon-includes.h"
#include <libosso-abook/osso-abook.h>
#include <libebook/e-vcard.h>
#include "modest-hildon-includes.h"
#include <libosso-abook/osso-abook.h>
+#include <libedataserver/e-data-server-util.h>
#include "modest-platform.h"
#include "modest-runtime.h"
#include "widgets/modest-window-mgr.h"
#include "modest-platform.h"
#include "modest-runtime.h"
#include "widgets/modest-window-mgr.h"
@@
-941,7
+942,7
@@
filter_by_name (OssoABookContactChooser *chooser,
contact_name = osso_abook_contact_get_name (contact);
/* contact_name includes both name and surname */
contact_name = osso_abook_contact_get_name (contact);
/* contact_name includes both name and surname */
- if (contact_name && name && strstr (contact_name, name))
+ if (contact_name && name && e_util_utf8_strstrcase (contact_name, name))
return TRUE;
else
return FALSE;
return TRUE;
else
return FALSE;