aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
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;
}