2000-09-25 Not Zed <NotZed@HelixCode.com> * message-list.c (folder_to_cachename): Function to convert a folder name/path to a filename for per-folder data. (save_tree_state): (load_tree_state): (free_tree_state): For loading/saving the state of the expansion of nodes in the tree. (message_list_destroy): Save the tree state when done. (save_node_state): Changed logic, we save when the node should be closed on startup. i.e. any new nodes with children automatically default to being open. (subtree_unread): Check for unread messages in a subtree. So false messages (for tree roots) are properly displayed. svn path=/trunk/; revision=5584
25 lines
559 B
C
25 lines
559 B
C
#ifndef _MESSAGE_THREAD_H
|
|
#define _MESSAGE_THREAD_H
|
|
|
|
#include <gnome.h>
|
|
#include "message-list.h"
|
|
|
|
struct _container {
|
|
/* Next must be the first member */
|
|
struct _container *next,
|
|
*parent,
|
|
*child;
|
|
const CamelMessageInfo *message;
|
|
char *root_subject; /* cached root equivalent subject */
|
|
int re; /* re version of subject? */
|
|
int order;
|
|
};
|
|
|
|
void mail_do_thread_messages (MessageList *ml, GPtrArray *uids,
|
|
gboolean use_camel_uidfree,
|
|
void (*build) (MessageList *,
|
|
struct _container *));
|
|
|
|
#endif /* !_MESSAGE_THREAD_H */
|
|
|