Changeset 3674

Show
Ignore:
Timestamp:
05/20/08 18:12:51
Author:
pvanhoof
Message:

2008-05-20 Philip Van Hoof <pvanhoof@gnome.org>

        • Fixed a fallback envelope fetch, don't do the clear on the summary.

Instead mark all as expunged

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3673 r3674  
     12008-05-20  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * Fixed a fallback envelope fetch, don't do the clear on the summary. 
     4        Instead mark all as expunged 
     5 
    162008-05-20  Jose Dapena Paz  <jdapena@igalia.com> 
    27 
    38        * libtinymail-camel/camel-lite/camel/camel-stream-filter.c: 
    4           (do_write): if the camel_stream_write call does not write the 
    5           full buffer but it's not due to an error, then loop to go on 
    6           writing the stream. 
     9       (do_write): if the camel_stream_write call does not write the 
     10        full buffer but it's not due to an error, then loop to go on 
     11        writing the stream. 
    712 
    8132008-05-20  Philip Van Hoof <pvanhoof@gnome.org> 
  • trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c

    r3646 r3674  
    33523352                if (tcnt < (exists - seq)) 
    33533353                { 
     3354                        int i; 
     3355 
    33543356                        g_ptr_array_foreach (needheaders, (GFunc)g_free, NULL); 
    33553357                        g_ptr_array_free (needheaders, TRUE); 
     
    33673369                                        return; 
    33683370                                } 
    3369                         camel_folder_summary_clear (folder->summary); 
     3371 
     3372                        for (i=0; i<folder->summary->messages->len; i++) { 
     3373                                CamelMessageInfo *ri = (CamelMessageInfo *) folder->summary->messages->pdata[i]; 
     3374                                ((CamelMessageInfoBase*)ri)->flags |= CAMEL_MESSAGE_EXPUNGED; 
     3375                                ((CamelMessageInfoBase*)ri)->flags |= CAMEL_MESSAGE_FREED; 
     3376                                camel_folder_summary_remove (folder->summary, ri); 
     3377                        } 
     3378 
     3379 
    33703380                        tcnt = cnt = imap_get_uids (folder, store, ex, needheaders, (exists - seq) - tcnt); 
    33713381