aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-25 00:31:54 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-25 00:31:54 +0800
commit020d3367a8115cbf6da07c6994dc72af8c26278e (patch)
tree80a15f71a92b54ce313de4f71f5bafdcc018d11d
parent9eb653dc3efb959936a2b1a83c923c4bd8ae53cd (diff)
downloadgsoc2013-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
-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");
}
}