aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/mail-local.c6
2 files changed, 8 insertions, 0 deletions
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 <peterw@ximian.com>
+ * 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");
}
}