aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-08-23 15:54:41 +0800
committerChris Toshok <toshok@src.gnome.org>2001-08-23 15:54:41 +0800
commitd17a71dbf4d08ea9d54d9deb0a48b27d14e83379 (patch)
treef3288dd220c6da63856224bc9e9c008b585fdb76 /addressbook
parent6fba7d7077b165410cb9362597f074556093561c (diff)
downloadgsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.tar
gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.tar.gz
gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.tar.bz2
gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.tar.lz
gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.tar.xz
gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.tar.zst
gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.zip
switch "full_name" to "x-evolution-any-field" in all the queries where we
2001-08-23 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (addressbook_query_changed): switch "full_name" to "x-evolution-any-field" in all the queries where we want to match all cards, since the backends universally handle this special case more efficiently. svn path=/trunk/; revision=12415
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 3b05766685..c4eecebfc0 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-23 Chris Toshok <toshok@ximian.com>
+
+ * gui/component/addressbook.c (addressbook_query_changed): switch
+ "full_name" to "x-evolution-any-field" in all the queries where we
+ want to match all cards, since the backends universally handle
+ this special case more efficiently.
+
2001-08-22 Jon Trowbridge <trow@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (extract_info):
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 775b1a32d3..9cc11635d8 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -717,7 +717,7 @@ addressbook_query_changed (ESearchBar *esb, AddressbookView *view)
if (subid < 0 || subid == G_MAXINT) {
/* match everything */
- search_query = g_strdup ("(contains \"full_name\" \"\")");
+ search_query = g_strdup ("(contains \"x-evolution-any-field\" \"\")");
} else {
master_list = get_master_list ();
category_name = e_categories_master_list_nth (master_list, subid);
@@ -725,12 +725,12 @@ addressbook_query_changed (ESearchBar *esb, AddressbookView *view)
}
break;
default:
- search_query = g_strdup ("(contains \"full_name\" \"\")");
+ search_query = g_strdup ("(contains \"x-evolution-any-field\" \"\")");
break;
}
g_string_free (s, TRUE);
} else
- search_query = g_strdup ("(contains \"full_name\" \"\")");
+ search_query = g_strdup ("(contains \"x-evolution-any-field\" \"\")");
if (search_query)
gtk_object_set (GTK_OBJECT(view->view),