From f21f2914791c04b48d1da9472ec8f7f3302d1bb3 Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Tue, 3 Jul 2001 23:04:35 +0000 Subject: Unset the message being displayed when expunging. This makes expunged 2001-07-03 Joe Shaw * 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 --- mail/ChangeLog | 6 ++++++ mail/mail-callbacks.c | 1 + 2 files changed, 7 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index 78add1937b..0683ff01b4 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-07-03 Joe Shaw + + * 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. + 2001-07-03 Joe Shaw * mail-callbacks.c (mail_reply): If msg is NULL, fetch the message 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); } -- cgit v1.2.3