aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog1
-rw-r--r--camel/camel-folder.c7
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index fc2f2bc220..8e897990dd 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -3,6 +3,7 @@
* 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.
+ (camel_folder_expunge): Emit a folder_changed if no exception.
2000-07-12 Jeffrey Stedfast <fejj@helixcode.com>
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index fffdf44650..a0f5e9d038 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -568,7 +568,12 @@ camel_folder_expunge (CamelFolder *folder, CamelException *ex)
{
g_return_if_fail (CAMEL_IS_FOLDER (folder));
- return CF_CLASS (folder)->expunge (folder, ex);
+ CF_CLASS (folder)->expunge (folder, ex);
+
+ if (! (camel_exception_is_set (ex))) {
+ gtk_signal_emit (GTK_OBJECT (folder),
+ signals[FOLDER_CHANGED], 0);
+ }
}