From 2839143b0b274ce88a7495a005109ab7d89e676d Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 28 Aug 2002 07:44:18 +0000 Subject: [ fixes #20348 ] deprecate "categories" in favor of "category". evolution 2002-08-28 Chris Toshok [ 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 --- addressbook/gui/component/addressbook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/component') 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: -- cgit v1.2.3