aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/message-list.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c2f9e4d539..90fd806534 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2000-07-08 Dan Winship <danw@helixcode.com>
* message-list.c (get_message_info): Fix Jeff's FIXME: This does
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);