aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJoe Shaw <joe@ximian.com>2001-07-04 07:04:35 +0800
committerJoe Shaw <joeshaw@src.gnome.org>2001-07-04 07:04:35 +0800
commitf21f2914791c04b48d1da9472ec8f7f3302d1bb3 (patch)
tree30590781ecf297c4bffe862cede397ca18248800 /mail/mail-callbacks.c
parentc904bd6580df2b9df2afa090649095e48054b625 (diff)
downloadgsoc2013-evolution-f21f2914791c04b48d1da9472ec8f7f3302d1bb3.tar.gz
gsoc2013-evolution-f21f2914791c04b48d1da9472ec8f7f3302d1bb3.tar.zst
gsoc2013-evolution-f21f2914791c04b48d1da9472ec8f7f3302d1bb3.zip
Unset the message being displayed when expunging. This makes expunged
2001-07-03 Joe Shaw <joe@ximian.com> * mail-callbacks.c (expunge_folder): Unset the message being displayed when expunging. This makes expunged messages not show in the preview pane when they're not there anymore. Fixes #3591. svn path=/trunk/; revision=10774
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 9deda6b17b..112221df77 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1631,6 +1631,7 @@ expunge_folder (BonoboUIComponent *uih, void *user_data, const char *path)
if (fb->folder
&& (fb->expunging == NULL
|| fb->folder != fb->expunging)) {
+ mail_display_set_message(fb->mail_display, NULL);
fb->expunging = fb->folder;
mail_expunge_folder(fb->folder, expunged_folder, fb);
}