aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-08-28 13:40:16 +0800
committerChris Toshok <toshok@src.gnome.org>2002-08-28 13:40:16 +0800
commit685293cb4623387f38e2d00b7764da65f25249aa (patch)
tree2e9f87ccefe96534a11b063e7193a20b9d37dfc5 /addressbook/gui
parent3814bb179fb3e0f3f0e862b2390e317bff0c80bb (diff)
downloadgsoc2013-evolution-685293cb4623387f38e2d00b7764da65f25249aa.tar
gsoc2013-evolution-685293cb4623387f38e2d00b7764da65f25249aa.tar.gz
gsoc2013-evolution-685293cb4623387f38e2d00b7764da65f25249aa.tar.bz2
gsoc2013-evolution-685293cb4623387f38e2d00b7764da65f25249aa.tar.lz
gsoc2013-evolution-685293cb4623387f38e2d00b7764da65f25249aa.tar.xz
gsoc2013-evolution-685293cb4623387f38e2d00b7764da65f25249aa.tar.zst
gsoc2013-evolution-685293cb4623387f38e2d00b7764da65f25249aa.zip
[ fixes #26907 ] use beginswith for email.
2002-08-27 Chris Toshok <toshok@ximian.com> [ fixes #26907 ] * gui/component/addressbook.c (addressbook_search_activated): use beginswith for email. svn path=/trunk/; revision=17882
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 084d85d324..4631da23d9 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -737,7 +737,7 @@ enum {
static ESearchBarItem addressbook_search_option_items[] = {
{ N_("Name begins with"), ESB_FULL_NAME, NULL },
- { N_("Email is"), ESB_EMAIL, NULL },
+ { N_("Email begins with"), ESB_EMAIL, NULL },
{ N_("Category is"), ESB_CATEGORY, NULL }, /* We attach subitems below */
{ N_("Any field contains"), ESB_ANY, NULL },
{ N_("Advanced..."), ESB_ADVANCED, NULL },
@@ -791,7 +791,7 @@ addressbook_search_activated (ESearchBar *esb, AddressbookView *view)
s->str);
break;
case ESB_EMAIL:
- search_query = g_strdup_printf ("(is \"email\" %s)",
+ search_query = g_strdup_printf ("(beginswith \"email\" %s)",
s->str);
break;
case ESB_CATEGORY: