diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-05 23:14:19 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-05 23:14:19 +0800 |
commit | a7054669e09016b893d8d22fbdaa734d08699a9a (patch) | |
tree | 5669f1b01f5063c92e3932533c4c48e15df19ecd /mail/mail-vfolder.c | |
parent | 4bb33b390b3fc556abacb345b977cd20146d6ae7 (diff) | |
download | gsoc2013-evolution-a7054669e09016b893d8d22fbdaa734d08699a9a.tar gsoc2013-evolution-a7054669e09016b893d8d22fbdaa734d08699a9a.tar.gz gsoc2013-evolution-a7054669e09016b893d8d22fbdaa734d08699a9a.tar.bz2 gsoc2013-evolution-a7054669e09016b893d8d22fbdaa734d08699a9a.tar.lz gsoc2013-evolution-a7054669e09016b893d8d22fbdaa734d08699a9a.tar.xz gsoc2013-evolution-a7054669e09016b893d8d22fbdaa734d08699a9a.tar.zst gsoc2013-evolution-a7054669e09016b893d8d22fbdaa734d08699a9a.zip |
Add mail folder cache hookups.
2001-07-05 Peter Williams <peterw@ximian.com>
* mail-vfolder.c (vfolder_uri_to_folder): Add mail folder cache hookups.
svn path=/trunk/; revision=10806
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); |