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.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 56b68344e0..5f77db80d4 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -350,13 +350,8 @@ static void
init_trash (CamelStore *store)
{
MailLocalStore *local_store = MAIL_LOCAL_STORE (store);
- char *name;
- name = g_strdup_printf ("%s?(match-all (system-flag \"Deleted\"))", "vTrash");
-
- store->vtrash = camel_vtrash_folder_new (store, name);
-
- g_free (name);
+ store->vtrash = camel_vtrash_folder_new (store, _("Trash"));
if (store->vtrash) {
/* attach to the finalize event of the vtrash */
@@ -446,7 +441,8 @@ struct _register_msg {
MailLocalFolder *local_folder;
};
-static char *register_folder_desc(struct _mail_msg *mm, int done)
+static char *
+register_folder_desc(struct _mail_msg *mm, int done)
{
struct _register_msg *m = (struct _register_msg *)mm;