diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 10 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 1037c39b7e..58a21f8d2e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,11 +1,11 @@ 2001-07-13 Peter Williams <peterw@ximian.com> - * mail-callbacks.c (expunge_folder): Segfault prevention here if no uid is - currently loaded. + * mail-callbacks.c (expunge_folder): Segfault prevention here if + no uid is currently loaded. - * mail-vfolder.c (unlist_vfolder): New function. If a vfolder in our list - gets finalized, NULL out info->folder (Is it wrong if this happens?) Also, - locking issues? + * mail-vfolder.c (unlist_vfolder): New function. If a vfolder in + our list gets finalized, NULL out info->folder (Is it wrong if + this happens?) Also, locking issues? (vfolder_uri_to_folder): Hook up to the finalize event here. 2001-07-13 Jeffrey Stedfast <fejj@ximian.com> diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 2f0269caf7..b982fc1c97 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1655,7 +1655,7 @@ expunge_folder (BonoboUIComponent *uih, void *user_data, const char *path) viewed is one of those to be expunged */ if (fb->loaded_uid) { info = camel_folder_get_message_info (fb->folder, fb->loaded_uid); - + if (info && info->flags & CAMEL_MESSAGE_DELETED) mail_display_set_message (fb->mail_display, NULL); } |