aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-07-13 00:02:02 +0800
committerPeter Williams <peterw@src.gnome.org>2000-07-13 00:02:02 +0800
commitd55f9b8a07ccaac8964e0817e23f24067a4559e2 (patch)
treef3ffddbdb066d5aabb39d5f4d0e65b66da329580 /camel/camel-folder.c
parente41d73fabba30e80877023d14e258a4246180383 (diff)
downloadgsoc2013-evolution-d55f9b8a07ccaac8964e0817e23f24067a4559e2.tar
gsoc2013-evolution-d55f9b8a07ccaac8964e0817e23f24067a4559e2.tar.gz
gsoc2013-evolution-d55f9b8a07ccaac8964e0817e23f24067a4559e2.tar.bz2
gsoc2013-evolution-d55f9b8a07ccaac8964e0817e23f24067a4559e2.tar.lz
gsoc2013-evolution-d55f9b8a07ccaac8964e0817e23f24067a4559e2.tar.xz
gsoc2013-evolution-d55f9b8a07ccaac8964e0817e23f24067a4559e2.tar.zst
gsoc2013-evolution-d55f9b8a07ccaac8964e0817e23f24067a4559e2.zip
Fix bug #378: last displayed message is still shown in an empty folder
svn path=/trunk/; revision=4110
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);
+ }
}