aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-05-14 13:06:16 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-05-14 13:06:16 +0800
commit1f52a5d0fa5edfa1c138971100df9143ef0c0f8b (patch)
tree3c779bee030140266edf46a56c6264159837fd04 /mail/folder-browser.c
parent9953071e22306fedaf852d018e0b5416496ababb (diff)
downloadgsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.gz
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.bz2
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.lz
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.xz
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.zst
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.zip
Use secondary searches here, so that we control the interference between
2001-05-14 Jon Trowbridge <trow@ximian.com> * folder-browser.c (folder_browser_config_search): Use secondary searches here, so that we control the interference between the two bits of searching UI. 2001-05-13 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Destroy the MailSearch dialog if the underlying MailDisplay is destroyed. I don't like the way that label in the dialog with the message subject in it looks, so I've #ifdef-ed it out for now. Center the Matches label --- it makes the dialog look more balanced, I think. (dialog_clicked_cb): Changed to reflect adjusted ESearchingTokenizer API, using primary searches. (toggled_case_cb): Use the primary search API. * e-searching-tokenizer.c: Make searching routines utf8-friendly. Rationalize how the match begin/end markup is handled; allow for begin/end markup that varies by search. Add concept of primary and secondary matching, to disentangle possible interactions between search-bar searches and search-dialog searches. svn path=/trunk/; revision=9789
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 74bce1c6c8..2d904dab22 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -302,7 +302,7 @@ static void folder_browser_config_search(EFilterBar *efb, FilterRule *rule, int
st = E_SEARCHING_TOKENIZER (fb->mail_display->html->engine->ht);
- e_searching_tokenizer_set_search_string (st, NULL);
+ e_searching_tokenizer_set_secondary_search_string (st, NULL);
/* we scan the parts of a rule, and set all the types we know about to the query string */
partl = rule->parts;
@@ -317,7 +317,7 @@ static void folder_browser_config_search(EFilterBar *efb, FilterRule *rule, int
FilterInput *input = (FilterInput *)filter_part_find_element(part, "word");
if (input)
filter_input_set_value(input, query);
- e_searching_tokenizer_set_search_string (st, query);
+ e_searching_tokenizer_set_secondary_search_string (st, query);
} else if(!strcmp(part->name, "sender")) {
FilterInput *input = (FilterInput *)filter_part_find_element(part, "sender");
if (input)