aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-18 00:42:35 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-18 00:42:35 +0800
commit40934b5c2a61b36d997d0570706d600fda610d80 (patch)
tree0c335d3ddf43d322a10d486239987a233e2fd6bc /mail/mail-local.c
parent14f7d6039fb40d64d6f68417b54e63098206d9d7 (diff)
downloadgsoc2013-evolution-40934b5c2a61b36d997d0570706d600fda610d80.tar
gsoc2013-evolution-40934b5c2a61b36d997d0570706d600fda610d80.tar.gz
gsoc2013-evolution-40934b5c2a61b36d997d0570706d600fda610d80.tar.bz2
gsoc2013-evolution-40934b5c2a61b36d997d0570706d600fda610d80.tar.lz
gsoc2013-evolution-40934b5c2a61b36d997d0570706d600fda610d80.tar.xz
gsoc2013-evolution-40934b5c2a61b36d997d0570706d600fda610d80.tar.zst
gsoc2013-evolution-40934b5c2a61b36d997d0570706d600fda610d80.zip
Use CAMEL_VTRASH_NAME.
2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (init_trash): Use CAMEL_VTRASH_NAME. * mail-ops.c (add_vtrash_info): Use CAMEL_VTRASH_NAME. * folder-browser.c: turned off some debugging 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (transfer_msg): Disallow vtrash for now... svn path=/trunk/; revision=11159
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 5f77db80d4..3372754fcd 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -351,7 +351,7 @@ init_trash (CamelStore *store)
{
MailLocalStore *local_store = MAIL_LOCAL_STORE (store);
- store->vtrash = camel_vtrash_folder_new (store, _("Trash"));
+ store->vtrash = camel_vtrash_folder_new (store, CAMEL_VTRASH_NAME);
if (store->vtrash) {
/* attach to the finalize event of the vtrash */
@@ -465,15 +465,14 @@ register_folder_register(struct _mail_msg *mm)
meta = load_metainfo (name);
g_free (name);
- camel_operation_register(mm->cancel);
-
+ camel_operation_register (mm->cancel);
name = g_strdup_printf ("%s:%s", meta->format, path);
store = camel_session_get_store (session, name, &mm->ex);
g_free (name);
if (!store) {
free_metainfo (meta);
- camel_operation_unregister(mm->cancel);
+ camel_operation_unregister (mm->cancel);
return;
}