aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-04 13:57:17 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-04 13:57:17 +0800
commit872a31a00c5771b57e9cbd4211cf3ee33a306a42 (patch)
tree2a0346ded6aedc34ca38e60b6e93dbb261d2dd20 /modules/addressbook
parent64892e739d1ca8b13dfa0bfb86607f2f694e5671 (diff)
downloadgsoc2013-evolution-872a31a00c5771b57e9cbd4211cf3ee33a306a42.tar
gsoc2013-evolution-872a31a00c5771b57e9cbd4211cf3ee33a306a42.tar.gz
gsoc2013-evolution-872a31a00c5771b57e9cbd4211cf3ee33a306a42.tar.bz2
gsoc2013-evolution-872a31a00c5771b57e9cbd4211cf3ee33a306a42.tar.lz
gsoc2013-evolution-872a31a00c5771b57e9cbd4211cf3ee33a306a42.tar.xz
gsoc2013-evolution-872a31a00c5771b57e9cbd4211cf3ee33a306a42.tar.zst
gsoc2013-evolution-872a31a00c5771b57e9cbd4211cf3ee33a306a42.zip
BugĀ 600402 - Clear search is always enabled in calendar/contact/task
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-view.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c
index 4a09a14825..8ea97caddc 100644
--- a/modules/addressbook/e-book-shell-view.c
+++ b/modules/addressbook/e-book-shell-view.c
@@ -131,7 +131,6 @@ book_shell_view_execute_search (EShellView *shell_view)
GString *string;
EAddressbookView *view;
EAddressbookModel *model;
- EFilterRule *rule;
const gchar *format;
const gchar *text;
gchar *query;
@@ -211,9 +210,7 @@ book_shell_view_execute_search (EShellView *shell_view)
/* XXX This is wrong. We need to programmatically construct an
* EFilterRule, tell it to build code, and pass the resulting
* expression string to EAddressbookModel. */
- rule = e_filter_rule_new ();
- e_shell_content_set_search_rule (shell_content, rule);
- g_object_unref (rule);
+ e_shell_content_set_search_rule (shell_content, NULL);
/* Submit the query. */
book_shell_content = E_BOOK_SHELL_CONTENT (shell_content);