Updated to not emit the folder_changed signal when a message is appended
2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * 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
This commit is contained in:
committed by
Jeffrey Stedfast
parent
da81d58a58
commit
a528ec34ef
@ -1,3 +1,11 @@
|
||||
2000-09-09 Jeffrey Stedfast <fejj@helixcode.com>
|
||||
|
||||
* 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 <fejj@helixcode.com>
|
||||
|
||||
* filtertypes.xml: Added scoring xml stuffs
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user