diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-07-12 23:45:59 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-07-12 23:45:59 +0800 |
commit | e41d73fabba30e80877023d14e258a4246180383 (patch) | |
tree | 5f625c93c21c8cc9b41fedada1064353f2acd291 | |
parent | 8f6fcc14fbc67170f7abaecabb3a05c3e491ad39 (diff) | |
download | gsoc2013-evolution-e41d73fabba30e80877023d14e258a4246180383.tar.gz gsoc2013-evolution-e41d73fabba30e80877023d14e258a4246180383.tar.zst gsoc2013-evolution-e41d73fabba30e80877023d14e258a4246180383.zip |
Fix bug #394: Refiling messages does not update the view
svn path=/trunk/; revision=4109
-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); + } } |