aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook.c4
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: