diff options
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index ef401017f1..591b91da44 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -22,6 +22,7 @@ #include "mail-vfolder.h" #include "mail-tools.h" #include "mail-autofilter.h" +#include "mail-folder-cache.h" #include "mail.h" #include "camel/camel.h" @@ -303,6 +304,9 @@ vfolder_uri_to_folder(const char *uri, CamelException *ex) folder = mail_tool_get_folder_from_urlname (storeuri, foldername, CAMEL_STORE_FOLDER_CREATE, ex); info->folder = (CamelVeeFolder *)folder; + mail_folder_cache_set_update_estorage (uri, vfolder_storage); + mail_folder_cache_note_folder (uri, info->folder); + bonobo_object_ref (BONOBO_OBJECT (vfolder_storage)); mail_hash_storage ((CamelService *)folder->parent_store, vfolder_storage); |