diff options
| author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-27 21:45:22 +0000 |
|---|---|---|
| committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-27 21:45:22 +0000 |
| commit | df06dddc31f2fc9cb9603cfa0f75952981fa4f07 (patch) | |
| tree | 07cb7ea2b5b8e8b4c521b277cb20702a4b0aeb91 /camel/camel-folder-thread.h | |
| parent | baa2c8f9f7442a26fd83ab0e9a771a37cb75d50e (diff) | |
| download | evolution-data-server-df06dddc31f2fc9cb9603cfa0f75952981fa4f07.tar.gz | |
Now takes a third argument to specify whether or not to group messages by
2002-08-27 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder-thread.c (camel_folder_thread_messages_new): Now
takes a third argument to specify whether or not to group messages
by subject when threading. It seems some people don't want this
feature (see bug #22791 for details).
(thread_summary): If thread_by_subject is enabled, group
un-threaded messages by subject otherwise don't bother.
Diffstat (limited to 'camel/camel-folder-thread.h')
| -rw-r--r-- | camel/camel-folder-thread.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/camel-folder-thread.h b/camel/camel-folder-thread.h index 3b40fe9d9..8bb78e27a 100644 --- a/camel/camel-folder-thread.h +++ b/camel/camel-folder-thread.h @@ -41,8 +41,9 @@ typedef struct _CamelFolderThreadNode { } CamelFolderThreadNode; typedef struct _CamelFolderThread { - int refcount; - + guint32 refcount : 31; + guint32 subject : 1; + struct _CamelFolderThreadNode *tree; struct _EMemChunk *node_chunks; CamelFolder *folder; @@ -50,7 +51,7 @@ typedef struct _CamelFolderThread { } CamelFolderThread; /* interface 1: using uid's */ -CamelFolderThread *camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids); +CamelFolderThread *camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids, gboolean thread_subject); void camel_folder_thread_messages_apply(CamelFolderThread *thread, GPtrArray *uids); /* interface 2: using messageinfo's. Currently disabled. */ |
