aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-18 22:13:06 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:36 +0800
commit333ccc8abf033453996e4a7e16712f2fc3b9e05a (patch)
tree502950095b960e5785405e6fe24033d105ec4a45 /modules/addressbook
parentcb4f089f51ea643df81930db232fa45f8c32d66b (diff)
downloadgsoc2013-evolution-333ccc8abf033453996e4a7e16712f2fc3b9e05a.tar
gsoc2013-evolution-333ccc8abf033453996e4a7e16712f2fc3b9e05a.tar.gz
gsoc2013-evolution-333ccc8abf033453996e4a7e16712f2fc3b9e05a.tar.bz2
gsoc2013-evolution-333ccc8abf033453996e4a7e16712f2fc3b9e05a.tar.lz
gsoc2013-evolution-333ccc8abf033453996e4a7e16712f2fc3b9e05a.tar.xz
gsoc2013-evolution-333ccc8abf033453996e4a7e16712f2fc3b9e05a.tar.zst
gsoc2013-evolution-333ccc8abf033453996e4a7e16712f2fc3b9e05a.zip
Bug #639483 - Category list includes weather information
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-view-actions.c2
-rw-r--r--modules/addressbook/e-book-shell-view.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c
index 7dec37968d..b2c63b872a 100644
--- a/modules/addressbook/e-book-shell-view-actions.c
+++ b/modules/addressbook/e-book-shell-view-actions.c
@@ -1124,7 +1124,7 @@ e_book_shell_view_update_search_filter (EBookShellView *book_shell_view)
/* Build the category actions. */
- list = e_categories_get_list ();
+ list = e_util_get_searchable_categories ();
for (iter = list, ii = 0; iter != NULL; iter = iter->next, ii++) {
const gchar *category_name = iter->data;
const gchar *filename;
diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c
index 2ac5d98968..8b5d816eaa 100644
--- a/modules/addressbook/e-book-shell-view.c
+++ b/modules/addressbook/e-book-shell-view.c
@@ -223,7 +223,7 @@ book_shell_view_execute_search (EShellView *shell_view)
GList *categories;
const gchar *category_name;
- categories = e_categories_get_list ();
+ categories = e_util_get_searchable_categories ();
category_name = g_list_nth_data (categories, filter_id);
g_list_free (categories);