aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-18 22:13:06 +0800
committerMilan Crha <mcrha@redhat.com>2011-02-18 22:13:06 +0800
commit1b25ab52f7709a0eae7493fb933fa62376ead288 (patch)
treef952dced3b14b92ad6010bcd41abe82188b48a53 /modules/addressbook
parent21147b292a387e18b8598b50f4d78a91d56e5684 (diff)
downloadgsoc2013-evolution-1b25ab52f7709a0eae7493fb933fa62376ead288.tar
gsoc2013-evolution-1b25ab52f7709a0eae7493fb933fa62376ead288.tar.gz
gsoc2013-evolution-1b25ab52f7709a0eae7493fb933fa62376ead288.tar.bz2
gsoc2013-evolution-1b25ab52f7709a0eae7493fb933fa62376ead288.tar.lz
gsoc2013-evolution-1b25ab52f7709a0eae7493fb933fa62376ead288.tar.xz
gsoc2013-evolution-1b25ab52f7709a0eae7493fb933fa62376ead288.tar.zst
gsoc2013-evolution-1b25ab52f7709a0eae7493fb933fa62376ead288.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);