diff options
author | Not Zed <NotZed@Ximian.com> | 2002-05-13 14:28:59 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-05-13 14:28:59 +0800 |
commit | 2711a779ae0870128998bca474a436f4b7458c97 (patch) | |
tree | c7abfb27758ef7af3179a4a33023ee9545ca2a98 /camel | |
parent | 643d963bfec169ec45f8ae4efaa4ee4243e07d59 (diff) | |
download | gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.tar.gz gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.tar.zst gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.zip |
Since the fix for #3357 uses 'order=0' to indicate tree structure nodes,
2002-05-13 Not Zed <NotZed@Ximian.com>
* camel-folder-thread.c
(camel_folder_thread_messages_new_summary):
(camel_folder_thread_messages_new): Since the fix for #3357 uses
'order=0' to indicate tree structure nodes, make sure we dont
actually set order=0 for valid messages, otherwise we silently
lose duplicates of the first message (i==0). Fixes #19920.
svn path=/trunk/; revision=16764
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 9 | ||||
-rw-r--r-- | camel/camel-folder-thread.c | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 1d0109f8ec..9cc4945557 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,12 @@ +2002-05-13 Not Zed <NotZed@Ximian.com> + + * camel-folder-thread.c + (camel_folder_thread_messages_new_summary): + (camel_folder_thread_messages_new): Since the fix for #3357 uses + 'order=0' to indicate tree structure nodes, make sure we dont + actually set order=0 for valid messages, otherwise we silently + lose duplicates of the first message (i==0). Fixes #19920. + 2002-05-10 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): Fetch the diff --git a/camel/camel-folder-thread.c b/camel/camel-folder-thread.c index be21ed3239..2427047ed9 100644 --- a/camel/camel-folder-thread.c +++ b/camel/camel-folder-thread.c @@ -501,7 +501,7 @@ camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids) } c->message = mi; - c->order = i; + c->order = i+1; child = c; if (mi->references) { int j; @@ -652,7 +652,7 @@ camel_folder_thread_messages_new_summary(GPtrArray *summary) } c->message = mi; - c->order = i; + c->order = i+1; child = c; if (mi->references) { int j; |