aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-search.h
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-05-11 12:27:35 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-05-11 12:27:35 +0800
commit59c9d146b95fdf399b64971d6b86d9e8a5474157 (patch)
treeb53a6c5bcea1ca1c1c749018fdcd2fcad0207852 /mail/mail-search.h
parentfce621fd558b52b3bdcca568af4c2676ba2e461c (diff)
downloadgsoc2013-evolution-59c9d146b95fdf399b64971d6b86d9e8a5474157.tar.gz
gsoc2013-evolution-59c9d146b95fdf399b64971d6b86d9e8a5474157.tar.zst
gsoc2013-evolution-59c9d146b95fdf399b64971d6b86d9e8a5474157.zip
Use the ESearchingTokenizer to highlight search matches for folder-level
2001-05-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c (folder_browser_config_search): Use the ESearchingTokenizer to highlight search matches for folder-level searches. Still mildly broken, but it works for the simple cases. * mail-display.c (mail_display_new): Use our ESearchingTokenizer for the mail display GtkHTML widget. * mail-search.c (dialog_clicked_cb): Use the ESearchingTokenizer to highlight search matches. (mail_search_construct): Add a match count to the search dialog. * e-searching-tokenizer.c (e_searching_tokenizer_set_search_string): Added. A custom HTML tokenizer that does highlighting of search strings. svn path=/trunk/; revision=9754
Diffstat (limited to 'mail/mail-search.h')
-rw-r--r--mail/mail-search.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-search.h b/mail/mail-search.h
index f02bbb5fb4..b5892b18b4 100644
--- a/mail/mail-search.h
+++ b/mail/mail-search.h
@@ -51,10 +51,13 @@ struct _MailSearch {
MailDisplay *mail;
GtkWidget *entry;
+ GtkWidget *count_label;
gboolean search_forward, case_sensitive;
-
gchar *last_search;
+
+ guint begin_handler;
+ guint match_handler;
};
struct _MailSearchClass {