From 3d924d9972c35c96d57c6e503f21f26a2cc6e95d Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 21 Feb 2001 20:13:07 +0000 Subject: started hack for progress reporting, which is currently to the console. 2001-02-22 Not Zed * mail-local.c (local_storage_new_folder_cb): started hack for progress reporting, which is currently to the console. * mail-mt.c (set_stop): Set the stop button sensitivity. (mail_msg_received): enable/disable stop button while we're processing stuff in another thread. * message-list.c (ml_tree_value_at): If our uid entry vanishes before w'ere ready, then make a fake. svn path=/trunk/; revision=8338 --- mail/message-list.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail/message-list.c') diff --git a/mail/message-list.c b/mail/message-list.c index b8c85cf808..c1e180a8bf 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -806,6 +806,10 @@ ml_tree_value_at (ETreeModel *etm, ETreePath *path, int col, void *model_data) uid = id_uid(uid); msg_info = camel_folder_get_message_info (message_list->folder, uid); + if (msg_info == NULL) { + g_warning("Invalid node encountered: %s", uid); + goto fake; + } switch (col){ case COL_MESSAGE_STATUS: { -- cgit v1.2.3