aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-09 05:00:09 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-09 05:00:09 +0800
commit1ffcdce023d6599bb838d02c89082340f284bbfb (patch)
tree27193865d45c64e9bd477b65f6f7b4d81fc3c4b1 /mail/message-list.c
parent1b6c15836e81f0cc0a7934d5478cd5f407a57a60 (diff)
downloadgsoc2013-evolution-1ffcdce023d6599bb838d02c89082340f284bbfb.tar.gz
gsoc2013-evolution-1ffcdce023d6599bb838d02c89082340f284bbfb.tar.zst
gsoc2013-evolution-1ffcdce023d6599bb838d02c89082340f284bbfb.zip
Small fix to stop uid data from being set on a message-list tree node when
2000-07-08 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (build_tree): Small fix to stop uid data from being set on a message-list tree node when it didn't correspond to an actual message. svn path=/trunk/; revision=3978
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 16171f6b3a..299a08ea9e 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -321,6 +321,7 @@ ml_tree_set_value_at (ETreeModel *etm, ETreePath *path, int col,
uid = e_tree_model_node_get_data (etm, path);
if (!uid)
return;
+
msg_info = camel_folder_get_message_info (message_list->folder, uid);
if (!msg_info)
return;
@@ -763,7 +764,7 @@ build_tree (MessageList *ml, ETreePath *parent, struct _container *c,
ETreePath *node;
while (c) {
- node = e_tree_model_node_insert (tree, parent, 0, ml);
+ node = e_tree_model_node_insert (tree, parent, 0, NULL);
if (c->message) {
char *uid = g_strdup (c->message->uid);