diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-folder.c | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 3a475f6507..fc2f2bc220 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2000-07-12 Peter Williams <peterw@helixcode.com> + + * camel-folder.c (camel_folder_set_message_flags): Emit a message_changed + signal once the flags are set on the message. + (camel_folder_set_user_flag): Ditto. + 2000-07-12 Jeffrey Stedfast <fejj@helixcode.com> * camel-stream.c: Use size_t and ssize_t for read/write methods diff --git a/camel/camel-folder.c b/camel/camel-folder.c index c76e7faf15..fffdf44650 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -728,6 +728,11 @@ camel_folder_set_message_flags (CamelFolder *folder, const char *uid, g_return_if_fail (CAMEL_IS_FOLDER (folder)); CF_CLASS (folder)->set_message_flags (folder, uid, flags, set, ex); + + if (! (camel_exception_is_set (ex))) { + gtk_signal_emit (GTK_OBJECT (folder), + signals[MESSAGE_CHANGED], uid); + } } @@ -789,6 +794,11 @@ camel_folder_set_message_user_flag (CamelFolder *folder, const char *uid, CF_CLASS (folder)->set_message_user_flag (folder, uid, name, value, ex); + + if (! (camel_exception_is_set (ex))) { + gtk_signal_emit (GTK_OBJECT (folder), + signals[MESSAGE_CHANGED], uid); + } } |