aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog9
-rw-r--r--addressbook/gui/widgets/addresstypes.xml2
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c2
3 files changed, 11 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 8cfc553df9..05a9c45149 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,12 @@
+2008-06-13 Milan Crha <mcrha@redhat.com>
+
+ ** Part of fix for bug #304029
+
+ * gui/widgets/addresstypes.xml: changed description of default
+ search filter from "Name begins with" to "Name contains"
+ * gui/widgets/e-addressbook-view.c: (search_activated):
+ same in a filter search query itself
+
2008-06-10 Matthew Barnes <mbarnes@redhat.com>
* gui/component/addressbook-component.c:
diff --git a/addressbook/gui/widgets/addresstypes.xml b/addressbook/gui/widgets/addresstypes.xml
index b8274a983f..813bf1c0ac 100644
--- a/addressbook/gui/widgets/addresstypes.xml
+++ b/addressbook/gui/widgets/addresstypes.xml
@@ -151,7 +151,7 @@
<ruleset>
<rule grouping="any" source="demand">
- <_title>Name begins with</_title>
+ <_title>Name contains</_title>
<sources/>
</rule>
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index cf11d0a271..f0747c0b98 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -1382,7 +1382,7 @@ search_activated (ESearchBar *esb, EABView *v)
s->str);
break;
case ESB_FULL_NAME:
- search_query = g_strdup_printf ("(beginswith \"full_name\" %s)",
+ search_query = g_strdup_printf ("(contains \"full_name\" %s)",
s->str);
break;
case ESB_EMAIL: