aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-shell-view-private.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-14 08:30:08 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-14 08:30:08 +0800
commitccd8e3964f548798eb05a430b3ea81b2760069cc (patch)
tree384bc6d1922e4b3ecf98d698fcd921dceeeeef8a /mail/e-mail-shell-view-private.h
parent4f60c57f314db049153feeb2a8b28cfeaf4fa81a (diff)
downloadgsoc2013-evolution-ccd8e3964f548798eb05a430b3ea81b2760069cc.tar.gz
gsoc2013-evolution-ccd8e3964f548798eb05a430b3ea81b2760069cc.tar.zst
gsoc2013-evolution-ccd8e3964f548798eb05a430b3ea81b2760069cc.zip
Get mail search bar partially working without help from EFilterBar.
Search scope (current folder, current account, etc.) is still ignored. svn path=/branches/kill-bonobo/; revision=37263
Diffstat (limited to 'mail/e-mail-shell-view-private.h')
-rw-r--r--mail/e-mail-shell-view-private.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/e-mail-shell-view-private.h b/mail/e-mail-shell-view-private.h
index cdb3c72b9d..8d295cd2a4 100644
--- a/mail/e-mail-shell-view-private.h
+++ b/mail/e-mail-shell-view-private.h
@@ -27,11 +27,13 @@
#include <glib/gi18n.h>
#include <gtkhtml/gtkhtml.h>
#include <camel/camel-vtrash-folder.h>
+#include <camel/camel-search-private.h> /* for camel_search_word */
#include "e-util/e-util.h"
#include "e-util/e-binding.h"
#include "e-util/gconf-bridge.h"
#include "e-util/e-account-utils.h"
+#include "filter/filter-part.h"
#include "widgets/misc/e-popup-action.h"
#include "widgets/menus/gal-view-instance.h"
@@ -101,7 +103,8 @@ enum {
MAIL_SEARCH_MESSAGE_CONTAINS,
MAIL_SEARCH_SUBJECT_CONTAINS,
MAIL_SEARCH_SENDER_CONTAINS,
- MAIL_SEARCH_BODY_CONTAINS
+ MAIL_SEARCH_BODY_CONTAINS,
+ MAIL_NUM_SEARCH_RULES
};
/* Scope items are displayed in ascending order. */
@@ -123,6 +126,9 @@ struct _EMailShellViewPrivate {
/* For UI merging and unmerging. */
guint merge_id;
guint label_merge_id;
+
+ /* Filter rules correspond to the search entry menu. */
+ FilterRule *search_rules[MAIL_NUM_SEARCH_RULES];
};
void e_mail_shell_view_private_init