aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-11-30 19:32:50 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-11-30 19:32:50 +0800
commit9b49b3e25a171e87b556fe33d4f9f5fbf1bdae53 (patch)
tree373b9929daf886ed70af0c3c8621399cc394cb31 /mail/mail-ops.c
parent1fbfdbd43e88e490ea11d56a3abde4631dab8cb5 (diff)
downloadgsoc2013-evolution-9b49b3e25a171e87b556fe33d4f9f5fbf1bdae53.tar
gsoc2013-evolution-9b49b3e25a171e87b556fe33d4f9f5fbf1bdae53.tar.gz
gsoc2013-evolution-9b49b3e25a171e87b556fe33d4f9f5fbf1bdae53.tar.bz2
gsoc2013-evolution-9b49b3e25a171e87b556fe33d4f9f5fbf1bdae53.tar.lz
gsoc2013-evolution-9b49b3e25a171e87b556fe33d4f9f5fbf1bdae53.tar.xz
gsoc2013-evolution-9b49b3e25a171e87b556fe33d4f9f5fbf1bdae53.tar.zst
gsoc2013-evolution-9b49b3e25a171e87b556fe33d4f9f5fbf1bdae53.zip
Set threaded view before setting the folder (cleanup some flash ons
2000-11-30 Not Zed <NotZed@HelixCode.com> * mail-ops.c (cleanup_load_folder): Set threaded view before setting the folder (cleanup some flash ons tartup). * message-list.c (message_list_init): Initialise a mempool for uid string storage. (new_id_from_uid): Added messagelist arg, allocate strings from uid_pool. (new_id_from_subject): Same. Fixed all callers. (remove_node_diff): Dont free uid here. (build_flat_diff): Nor here. (clear_tree): Flush the mempool, rather than freeing the id's directly. (free_tree_ids): Removed, no longer required. (free_tree_ids): Likewise. (message_list_init): Dont connect to the table destroy signal anymore to free the uid table. (message_list_destroy): Free the uid pool here. (*): Use accessors for messageid stuff. (content_is_attachment): Removed, no longer required. (ml_tree_value_at): Get the attachment flag directly from the summary. (ml_tree_value_at): For 'fake' nodes, try and do something better than "?" for from, to, and size. (subtree_size): New function, add up the total size of a subtree. (subtree_earliest): Get the earliest date from a subtree. (ml_tree_value_at): Return earliest date sent/received for fake nodes. (ml_tree_value_at): Return something to mark a fake subject line as a fake subject, although i dont know, i guess this buggers up sorting ... (subtree_size): Check the info node is still there. (subtree_earliest): Same here. (subtree_unread): And here. The info node might vanish if the folder has changed/is changing and we try and redraw stuff while its doing it. (message_list_drag_data_get): Use accessors. svn path=/trunk/; revision=6732
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 77c27f7ee6..ee269f91b9 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1776,6 +1776,7 @@ cleanup_load_folder (gpointer in_data, gpointer op_data, CamelException *ex)
camel_folder_has_search_capability (input->
fb->
folder));
+ message_list_set_threaded(input->fb->message_list, mail_config_thread_list());
message_list_set_folder (input->fb->message_list, input->fb->folder);
}