diff options
-rw-r--r-- | mail/ChangeLog | 2 | ||||
-rw-r--r-- | mail/mail-vfolder.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 111fc40b64..a2c358a7f0 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,7 @@ 2001-07-05 Peter Williams <peterw@ximian.com> + * mail-vfolder.c (vfolder_uri_to_folder): Add mail folder cache hookups. + * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Clear the shell view label if mailer loses focus. 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); |