aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-02-22 04:13:07 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-02-22 04:13:07 +0800
commit3d924d9972c35c96d57c6e503f21f26a2cc6e95d (patch)
treec977751da2680be7240d19c44f1c9c754a1859ae /mail/message-list.c
parent535fea211a9a35f5b04017124a71764daf926723 (diff)
downloadgsoc2013-evolution-3d924d9972c35c96d57c6e503f21f26a2cc6e95d.tar.gz
gsoc2013-evolution-3d924d9972c35c96d57c6e503f21f26a2cc6e95d.tar.zst
gsoc2013-evolution-3d924d9972c35c96d57c6e503f21f26a2cc6e95d.zip
started hack for progress reporting, which is currently to the console.
2001-02-22 Not Zed <NotZed@Ximian.com> * 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
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c4
1 files changed, 4 insertions, 0 deletions
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: {