aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
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')
-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);