From 609e3620b733b5a4341d934e4825cab5d5d535bc Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 1 Nov 2004 18:54:46 +0000 Subject: Cache the folder-info on the summary if successful. (imap4_delete_folder): 2004-11-01 Jeffrey Stedfast * providers/imap4/camel-imap4-store.c (imap4_create_folder): Cache the folder-info on the summary if successful. (imap4_delete_folder): Un-cache the folder-info from the summary. * providers/imap4/camel-imap4-store-summary.c (load_namespaces): Cleaned up a bit. (save_namespaces): Same. (camel_imap4_store_summary_unnote_info): New function. (camel_imap4_store_summary_get_folder_info): Fixed the logic a bit. svn path=/trunk/; revision=27782 --- camel/providers/imap4/camel-imap4-store-summary.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/providers/imap4/camel-imap4-store-summary.h') diff --git a/camel/providers/imap4/camel-imap4-store-summary.h b/camel/providers/imap4/camel-imap4-store-summary.h index f9ddc54f19..4a5af80d03 100644 --- a/camel/providers/imap4/camel-imap4-store-summary.h +++ b/camel/providers/imap4/camel-imap4-store-summary.h @@ -81,6 +81,8 @@ void camel_imap4_store_summary_set_namespaces (CamelIMAP4StoreSummary *s, const /* add the info to the cache if we don't already have it, otherwise do nothing */ void camel_imap4_store_summary_note_info (CamelIMAP4StoreSummary *s, struct _CamelFolderInfo *fi); +void camel_imap4_store_summary_unnote_info (CamelIMAP4StoreSummary *s, struct _CamelFolderInfo *fi); + struct _CamelFolderInfo *camel_imap4_store_summary_get_folder_info (CamelIMAP4StoreSummary *s, const char *top, guint32 flags); #ifdef __cplusplus -- cgit