aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-08 08:45:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-08 08:45:58 +0800
commite96bfc58ca850606a7c787636bc6e787266e6598 (patch)
tree5c833b88b17d7dac27cb5afb45f65dff89d6d02f /camel/camel-folder.c
parent91aa52c36931748f4eb7f74d44d06ef77d834eac (diff)
downloadgsoc2013-evolution-e96bfc58ca850606a7c787636bc6e787266e6598.tar.gz
gsoc2013-evolution-e96bfc58ca850606a7c787636bc6e787266e6598.tar.zst
gsoc2013-evolution-e96bfc58ca850606a7c787636bc6e787266e6598.zip
Flush the only-once actions.
2002-01-07 Jeffrey Stedfast <fejj@ximian.com> * camel-folder.c (filter_filter): Flush the only-once actions. * camel-filter-driver.c (camel_filter_driver_filter_message): Don't increment a filtered_count here any longer. (camel_filter_driver_reset_filtered_count): Removed. (camel_filter_driver_get_filtered_count): Removed. (do_beep): New action. (play_sound): New action to play a sound (do_only_once): Another new action. (camel_filter_driver_finalise): Free the only_once hash if the driver has not been "flushed". (camel_filter_driver_flush): Flush all of the only-once actions. svn path=/trunk/; revision=15262
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index fd1fc13736..b29a845fb2 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -1479,8 +1479,9 @@ static void
filter_filter(CamelSession *session, CamelSessionThreadMsg *msg)
{
struct _folder_filter_msg *m = (struct _folder_filter_msg *)msg;
-
- camel_filter_driver_filter_folder(m->driver, m->folder, NULL, m->recents, FALSE, &m->ex);
+
+ camel_filter_driver_filter_folder(m->driver, m->folder, NULL, m->recents, FALSE, &m->ex);
+ camel_filter_driver_flush (m->driver, &m->ex);
}
static void