From 6cabd25cfa2f9438f4806e368b51373fac163d40 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 6 Jul 2000 08:44:01 +0000 Subject: Setup the subject renderer to a tree in tree mode. (on_cursor_change_cmd): 2000-07-06 Not Zed * message-list.c (message_list_init_header): Setup the subject renderer to a tree in tree mode. (on_cursor_change_cmd): For a tree model, map the view row to the data row. (build_tree): Builds the tree data structure of all messages. (message_list_set_search): For a tree model, build the tree here. (ml_tree_icon_at): Icon callback, returns nothing. (ml_tree_value_at): (ml_tree_set_value_at): (ml_tree_is_cell_editable): Maps tree node to data row, and calls the equivalent table callback (message_list_init_renderers): Setup the tree renderer if needed. * message-list.h: Add a tree renderer to render list, and tree_view indicator. svn path=/trunk/; revision=3921 --- mail/message-thread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/message-thread.c') diff --git a/mail/message-thread.c b/mail/message-thread.c index 153cc75015..008982e8db 100644 --- a/mail/message-thread.c +++ b/mail/message-thread.c @@ -405,9 +405,11 @@ thread_messages(CamelMessageInfo **messages, int count) /* find any siblings which missed out */ group_root_set(&head); +#if 0 printf("finished\n"); i = dump_tree(head, 0); printf("%d count, %d msgs initially, %d items in tree\n", count, msgs, i); +#endif return head; } -- cgit