aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-20 11:38:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-20 11:38:05 +0800
commitbc2cd00f42a2ab2505e95512165c6d9070252c9c (patch)
treec7ee783d42a9a07554ed51ac008d4106fe106c89
parentaa63ffecbab9f01349bec0367bc633dadecdef36 (diff)
downloadgsoc2013-evolution-bc2cd00f42a2ab2505e95512165c6d9070252c9c.tar
gsoc2013-evolution-bc2cd00f42a2ab2505e95512165c6d9070252c9c.tar.gz
gsoc2013-evolution-bc2cd00f42a2ab2505e95512165c6d9070252c9c.tar.bz2
gsoc2013-evolution-bc2cd00f42a2ab2505e95512165c6d9070252c9c.tar.lz
gsoc2013-evolution-bc2cd00f42a2ab2505e95512165c6d9070252c9c.tar.xz
gsoc2013-evolution-bc2cd00f42a2ab2505e95512165c6d9070252c9c.tar.zst
gsoc2013-evolution-bc2cd00f42a2ab2505e95512165c6d9070252c9c.zip
Create vTrash folders for all remote stores as well.
2001-02-19 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): Create vTrash folders for all remote stores as well. svn path=/trunk/; revision=8300
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/component-factory.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ba74cd9110..ab05173d79 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * component-factory.c (mail_load_storages): Create vTrash folders
+ for all remote stores as well.
+
2001-02-20 Not Zed <NotZed@Ximian.com>
* mail-vtrash.c (create_trash_vfolder): Add the auto-update flag
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 11adaefcac..b3877e4884 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -443,6 +443,9 @@ mail_load_storages (GNOME_Evolution_Shell shell, const GSList *sources, gboolean
g_warning ("Cannot load storage: %s",
camel_exception_get_description (&ex));
camel_exception_clear (&ex);
+ } else {
+ /* create the vTrash folder */
+ vtrash_create (service->url, NULL, NULL);
}
}