From 9cc7e4cc95fb63ff48359b955329607795c6cf1f Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 12 May 2004 07:15:43 +0000 Subject: enable threading option type on the search bar. 2004-05-12 Not Zed * mail-component.c (setup_search_context): enable threading option type on the search bar. svn path=/trunk/; revision=25878 --- mail/mail-component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-component.c') diff --git a/mail/mail-component.c b/mail/mail-component.c index f4296fb9a4..9fa4eafb99 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -295,6 +295,8 @@ setup_search_context (MailComponent *component) char *system = g_strdup (EVOLUTION_PRIVDATADIR "/searchtypes.xml"); priv->search_context = rule_context_new (); + /* This is a sort of hack, but saves us having to have a search context just to do it for us */ + priv->search_context->flags |= RULE_CONTEXT_THREADING; g_object_set_data_full (G_OBJECT (priv->search_context), "user", user, g_free); g_object_set_data_full (G_OBJECT (priv->search_context), "system", system, g_free); -- cgit v1.2.3