aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.h
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/message-list.h
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/message-list.h')
-rw-r--r--mail/message-list.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/message-list.h b/mail/message-list.h
index 99776948b3..400da181c7 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -55,8 +55,9 @@ struct _MessageList {
CamelFolder *folder;
GHashTable *uid_rowmap; /* key is the uid, value is the row number.
- Note: The key string is owned by table_model */
-
+ Note: The key string is owned by table_model (in uid_pool) */
+ struct _EMemPool *uid_pool; /* mempool to hold uid strings */
+
char *search; /* current search string */
gboolean threaded; /* are we displaying threaded view? */