aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-callbacks.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 78add1937b..0683ff01b4 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2001-07-03 Joe Shaw <joe@ximian.com>
+
* mail-callbacks.c (mail_reply): If msg is NULL, fetch the message
and requeue a mail_reply call. Fixes bug #3816.
(requeue_mail_reply): Callback from mail_get_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);
}