diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-11-02 02:54:46 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-11-02 02:54:46 +0800 |
commit | 609e3620b733b5a4341d934e4825cab5d5d535bc (patch) | |
tree | 6ba6f37a2d142913849c936f33234da88db0ee56 /camel/providers/imap4/camel-imap4-store-summary.h | |
parent | 69d4437179684dad21812702ead2b1e39d266cb4 (diff) | |
download | gsoc2013-evolution-609e3620b733b5a4341d934e4825cab5d5d535bc.tar gsoc2013-evolution-609e3620b733b5a4341d934e4825cab5d5d535bc.tar.gz gsoc2013-evolution-609e3620b733b5a4341d934e4825cab5d5d535bc.tar.bz2 gsoc2013-evolution-609e3620b733b5a4341d934e4825cab5d5d535bc.tar.lz gsoc2013-evolution-609e3620b733b5a4341d934e4825cab5d5d535bc.tar.xz gsoc2013-evolution-609e3620b733b5a4341d934e4825cab5d5d535bc.tar.zst gsoc2013-evolution-609e3620b733b5a4341d934e4825cab5d5d535bc.zip |
Cache the folder-info on the summary if successful. (imap4_delete_folder):
2004-11-01 Jeffrey Stedfast <fejj@novell.com>
* 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
Diffstat (limited to 'camel/providers/imap4/camel-imap4-store-summary.h')
-rw-r--r-- | camel/providers/imap4/camel-imap4-store-summary.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |