aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c7
1 files changed, 6 insertions, 1 deletions
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);
+ }
}