From 7acecd99c9998ff09bf561c211f2d3d566d384c9 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 13 Sep 2000 22:13:09 +0000 Subject: Rewrote to take a third argument (gboolean *selectable) so that we can 2000-09-13 Jeffrey Stedfast * providers/imap/camel-imap-store.c (imap_folder_exists): Rewrote to take a third argument (gboolean *selectable) so that we can find out if the folder is selectable or not as we look to see if it exists. Also, don't use EXAMINE because that will not work on non-selectable folders, so use LIST instead. (get_folder): Check to see if the folder exists even vefore calling imap_create as this will save time. If the folder does exist, find out if it's selectable. Moved the call to refresh_info here. * providers/imap/camel-imap-folder.c (imap_get_uids): Check for a NULL summary. (camel_imap_folder_new): Don't call refresh_info here - call it in get_folder() because we don't know if this folder even exists on the server yet! And even if it does, we don't know if it can hold messages or not yet. svn path=/trunk/; revision=5412 --- camel/ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'camel/ChangeLog') diff --git a/camel/ChangeLog b/camel/ChangeLog index 56fd149a07..92bf1266dd 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,22 @@ +2000-09-13 Jeffrey Stedfast + + * providers/imap/camel-imap-store.c (imap_folder_exists): Rewrote + to take a third argument (gboolean *selectable) so that we can + find out if the folder is selectable or not as we look to see if + it exists. Also, don't use EXAMINE because that will not work on + non-selectable folders, so use LIST instead. + (get_folder): Check to see if the folder exists even vefore + calling imap_create as this will save time. If the folder does + exist, find out if it's selectable. Moved the call to refresh_info + here. + + * providers/imap/camel-imap-folder.c (imap_get_uids): Check for a + NULL summary. + (camel_imap_folder_new): Don't call refresh_info here - call it in + get_folder() because we don't know if this folder even exists on + the server yet! And even if it does, we don't know if it can hold + messages or not yet. + 2000-09-12 Jeffrey Stedfast * camel-mime-parser.c (folder_scan_step): Make sure *datalength is -- cgit v1.2.3