aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-08-28 15:44:18 +0800
committerChris Toshok <toshok@src.gnome.org>2002-08-28 15:44:18 +0800
commit2839143b0b274ce88a7495a005109ab7d89e676d (patch)
tree423c14505a862be28748dce9bb83b86886509c27 /addressbook/gui/component
parentf4fbfa9176edc5ec4890d2e934d524bda1669ff4 (diff)
downloadgsoc2013-evolution-2839143b0b274ce88a7495a005109ab7d89e676d.tar.gz
gsoc2013-evolution-2839143b0b274ce88a7495a005109ab7d89e676d.tar.zst
gsoc2013-evolution-2839143b0b274ce88a7495a005109ab7d89e676d.zip
[ fixes #20348 ] deprecate "categories" in favor of "category". evolution
2002-08-28 Chris Toshok <toshok@ximian.com> [ fixes #20348 ] * backend/pas/evolutionperson.schema: deprecate "categories" in favor of "category". evolution no longer uses "categories". * backend/pas/pas-backend-ldap.c (category_populate): new function, "category" is the new name, and it's multivalued so we need the complex-prop stuff.. (category_ber): new function, same. (category_compare): new function, same. * gui/component/addressbook.c (addressbook_search_activated): the text is "Category is" so we should use "is" instead of "contains" for the query. svn path=/trunk/; revision=17885
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/addressbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 4631da23d9..ee761fb755 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -803,7 +803,7 @@ addressbook_search_activated (ESearchBar *esb, AddressbookView *view)
} else {
master_list = get_master_list ();
category_name = e_categories_master_list_nth (master_list, subid);
- search_query = g_strdup_printf ("(contains \"category\" \"%s\")", category_name);
+ search_query = g_strdup_printf ("(is \"category\" \"%s\")", category_name);
}
break;
default: