diff options
author | Chris Toshok <toshok@ximian.com> | 2002-08-28 13:40:16 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-08-28 13:40:16 +0800 |
commit | 685293cb4623387f38e2d00b7764da65f25249aa (patch) | |
tree | 2e9f87ccefe96534a11b063e7193a20b9d37dfc5 | |
parent | 3814bb179fb3e0f3f0e862b2390e317bff0c80bb (diff) | |
download | gsoc2013-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
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index a213b14842..1b197aaa6b 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2002-08-27 Chris Toshok <toshok@ximian.com> + + [ fixes #26907 ] + * gui/component/addressbook.c (addressbook_search_activated): use + beginswith for email. + 2002-08-26 Chris Toshok <toshok@ximian.com> * printing/e-contact-print.c (complete_sequence): change prototype 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: |