diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-25 00:31:54 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-25 00:31:54 +0800 |
commit | 020d3367a8115cbf6da07c6994dc72af8c26278e (patch) | |
tree | 80a15f71a92b54ce313de4f71f5bafdcc018d11d /mail/mail-local.c | |
parent | 9eb653dc3efb959936a2b1a83c923c4bd8ae53cd (diff) | |
download | gsoc2013-evolution-020d3367a8115cbf6da07c6994dc72af8c26278e.tar.gz gsoc2013-evolution-020d3367a8115cbf6da07c6994dc72af8c26278e.tar.zst gsoc2013-evolution-020d3367a8115cbf6da07c6994dc72af8c26278e.zip |
Set up the local trash in the folder cache.
2001-07-24 Peter Williams <peterw@ximian.com>
* mail-local.c (init_trash): Set up the local trash in the folder cache.
svn path=/trunk/; revision=11343
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r-- | mail/mail-local.c | 6 |
1 files changed, 6 insertions, 0 deletions
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"); } } |