From a7054669e09016b893d8d22fbdaa734d08699a9a Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 5 Jul 2001 15:14:19 +0000 Subject: Add mail folder cache hookups. 2001-07-05 Peter Williams * mail-vfolder.c (vfolder_uri_to_folder): Add mail folder cache hookups. svn path=/trunk/; revision=10806 --- mail/ChangeLog | 2 ++ mail/mail-vfolder.c | 4 ++++ 2 files changed, 6 insertions(+) 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 + * 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); -- cgit v1.2.3