diff options
author | Joe Shaw <joe@ximian.com> | 2001-07-04 07:04:35 +0800 |
---|---|---|
committer | Joe Shaw <joeshaw@src.gnome.org> | 2001-07-04 07:04:35 +0800 |
commit | f21f2914791c04b48d1da9472ec8f7f3302d1bb3 (patch) | |
tree | 30590781ecf297c4bffe862cede397ca18248800 /mail | |
parent | c904bd6580df2b9df2afa090649095e48054b625 (diff) | |
download | gsoc2013-evolution-f21f2914791c04b48d1da9472ec8f7f3302d1bb3.tar gsoc2013-evolution-f21f2914791c04b48d1da9472ec8f7f3302d1bb3.tar.gz gsoc2013-evolution-f21f2914791c04b48d1da9472ec8f7f3302d1bb3.tar.bz2 gsoc2013-evolution-f21f2914791c04b48d1da9472ec8f7f3302d1bb3.tar.lz gsoc2013-evolution-f21f2914791c04b48d1da9472ec8f7f3302d1bb3.tar.xz 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')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 1 |
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); } |