From a528ec34eff01a96915a4efc60f951aea7c8e1e2 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 9 Sep 2000 16:55:18 +0000 Subject: Updated to not emit the folder_changed signal when a message is appended 2000-09-09 Jeffrey Stedfast * filter-driver.c (filter_driver_run): Updated to not emit the folder_changed signal when a message is appended to the default mailbox - lets leave that up to the caller so we don't queue up a bunch of these emits if the caller is downloading messages for example. svn path=/trunk/; revision=5285 --- filter/ChangeLog | 8 ++++++++ filter/filter-driver.c | 5 ----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/filter/ChangeLog b/filter/ChangeLog index 5f0aafbe13..b973459a70 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,11 @@ +2000-09-09 Jeffrey Stedfast + + * filter-driver.c (filter_driver_run): Updated to not emit the + folder_changed signal when a message is appended to the default + mailbox - lets leave that up to the caller so we don't queue up a + bunch of these emits if the caller is downloading messages for + example. + 2000-09-08 Jeffrey Stedfast * filtertypes.xml: Added scoring xml stuffs diff --git a/filter/filter-driver.c b/filter/filter-driver.c index a233b580ad..36afad8654 100644 --- a/filter/filter-driver.c +++ b/filter/filter-driver.c @@ -471,11 +471,6 @@ filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, CamelMessage /* copy it to the default inbox */ mail_tool_camel_lock_up (); camel_folder_append_message (inbox, p->message, p->info, p->ex); - - /* warn that inbox was changed */ - if (unhook_func) - camel_object_unhook_event (CAMEL_OBJECT (inbox), "folder_changed", - unhook_func, unhook_data); mail_tool_camel_lock_down (); } else { filtered = TRUE; -- cgit