From 020d3367a8115cbf6da07c6994dc72af8c26278e Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 24 Jul 2001 16:31:54 +0000 Subject: Set up the local trash in the folder cache. 2001-07-24 Peter Williams * mail-local.c (init_trash): Set up the local trash in the folder cache. svn path=/trunk/; revision=11343 --- mail/ChangeLog | 2 ++ mail/mail-local.c | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 44a44cfbe5..1aaa80d696 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,7 @@ 2001-07-24 Peter Williams + * mail-local.c (init_trash): Set up the local trash in the folder cache. + * mail-folder-cache.c (update_idle): Make the error reporting a little but more descriptive. diff --git a/mail/mail-local.c b/mail/mail-local.c index b8bc94947b..2238a4ecd2 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -365,6 +365,12 @@ init_trash (CamelStore *store) g_hash_table_foreach (local_store->folders, trash_add_folder, store); /* unlock? */ } + + /* would prefer not to special-case this, but... */ + mail_folder_cache_note_folder ("vtrash:file:/", store->vtrash); + mail_folder_cache_set_update_lstorage ("vtrash:file:/", + local_store->corba_local_storage, + "/local/Trash"); } } -- cgit v1.2.3