aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-27 01:35:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-27 01:35:53 +0800
commit1aba985def3755dbc5f9c49caee5207aa80e5d94 (patch)
tree50ad64786a1169f633570823af53f4176cf90135 /mail/component-factory.c
parent4b098b1a425fc966c96a61c1c24acb2a2f5645a9 (diff)
downloadgsoc2013-evolution-1aba985def3755dbc5f9c49caee5207aa80e5d94.tar
gsoc2013-evolution-1aba985def3755dbc5f9c49caee5207aa80e5d94.tar.gz
gsoc2013-evolution-1aba985def3755dbc5f9c49caee5207aa80e5d94.tar.bz2
gsoc2013-evolution-1aba985def3755dbc5f9c49caee5207aa80e5d94.tar.lz
gsoc2013-evolution-1aba985def3755dbc5f9c49caee5207aa80e5d94.tar.xz
gsoc2013-evolution-1aba985def3755dbc5f9c49caee5207aa80e5d94.tar.zst
gsoc2013-evolution-1aba985def3755dbc5f9c49caee5207aa80e5d94.zip
Re-add the mail_vtrash_create() hack back in for LocalStores since there's
2001-02-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Re-add the mail_vtrash_create() hack back in for LocalStores since there's no better way to register a vTrash folder on the Local Storage yet. * mail-local.c (register_folder_registered): Add folders to the vTrash folder here since the LocalStore does not let the parent CamelStore class keep it's own hash of the folders. svn path=/trunk/; revision=8391
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 9fdfd0b3cd..d72df7281d 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -43,6 +43,7 @@
#include "mail-mt.h"
#include "mail-importer.h"
#include "mail-vfolder.h" /* vfolder_create_storage */
+#include "mail-vtrash.h"
#include "openpgp-utils.h"
#include <gal/widgets/e-gui-utils.h>
@@ -215,6 +216,8 @@ owner_set_cb (EvolutionShellComponent *shell_component,
g_free (uri);
}
+ mail_vtrash_create ("file:/", "vTrash");
+
mail_session_enable_interaction (TRUE);
mail_autoreceive_setup ();