aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-06-13 17:48:25 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-06-13 17:48:25 +0800
commitef9ac541caa1d7b31a0d2af2e8181cfeed2cf781 (patch)
treefb2349b06b1c6d27dcb7e16c41d4dc379c57a3d2
parent5868f85aff119c14b15acecb22afae575b863a57 (diff)
downloadgsoc2013-evolution-ef9ac541caa1d7b31a0d2af2e8181cfeed2cf781.tar.gz
gsoc2013-evolution-ef9ac541caa1d7b31a0d2af2e8181cfeed2cf781.tar.zst
gsoc2013-evolution-ef9ac541caa1d7b31a0d2af2e8181cfeed2cf781.zip
** Part of fix for bug #304029
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 Note: Be sure you've proper eds version. svn path=/trunk/; revision=35635
-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: