aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author3 <NotZed@Ximian.com>2001-10-04 08:26:53 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-04 08:26:53 +0800
commitf4742f289219942139b54514eaa8ed00dc71971a (patch)
tree7768e14d13c17b1be7c86b35b064078026050177
parentfc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7 (diff)
downloadgsoc2013-evolution-f4742f289219942139b54514eaa8ed00dc71971a.tar.gz
gsoc2013-evolution-f4742f289219942139b54514eaa8ed00dc71971a.tar.zst
gsoc2013-evolution-f4742f289219942139b54514eaa8ed00dc71971a.zip
Set 'to' -> 'recipient' data for search object. #6199.
2001-10-03 <NotZed@Ximian.com> * folder-browser.c (folder_browser_config_search): Set 'to' -> 'recipient' data for search object. #6199. svn path=/trunk/; revision=13399
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/folder-browser.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e35d90de12..de4f716089 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-10-03 <NotZed@Ximian.com>
+ * folder-browser.c (folder_browser_config_search): Set 'to' ->
+ 'recipient' data for search object. #6199.
+
* mail-local.c (local_storage_new_folder_cb): Handle vtrash case,
emit 'folder_created' event for the folder-cache to work, etc.
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 076c29104c..43363f4930 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1063,6 +1063,10 @@ folder_browser_config_search (EFilterBar *efb, FilterRule *rule, int id, const c
FilterInput *input = (FilterInput *)filter_part_find_element(part, "sender");
if (input)
filter_input_set_value(input, query);
+ } else if(!strcmp(part->name, "to")) {
+ FilterInput *input = (FilterInput *)filter_part_find_element(part, "recipient");
+ if (input)
+ filter_input_set_value(input, query);
}
partl = partl->next;