diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-28 05:45:22 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-28 05:45:22 +0800 |
commit | 9945af011ee1e272440e0f61b74b910d0bd92045 (patch) | |
tree | b74e35d6a28eaadb27fbe8331927c418701ed9c4 /camel/camel-folder-thread.h | |
parent | 545045a58e8b9440261945afd86d10c7956d231e (diff) | |
download | gsoc2013-evolution-9945af011ee1e272440e0f61b74b910d0bd92045.tar gsoc2013-evolution-9945af011ee1e272440e0f61b74b910d0bd92045.tar.gz gsoc2013-evolution-9945af011ee1e272440e0f61b74b910d0bd92045.tar.bz2 gsoc2013-evolution-9945af011ee1e272440e0f61b74b910d0bd92045.tar.lz gsoc2013-evolution-9945af011ee1e272440e0f61b74b910d0bd92045.tar.xz gsoc2013-evolution-9945af011ee1e272440e0f61b74b910d0bd92045.tar.zst gsoc2013-evolution-9945af011ee1e272440e0f61b74b910d0bd92045.zip |
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.
svn path=/trunk/; revision=17880
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 3b40fe9d9c..8bb78e27a0 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. */ |