aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-component.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a1232ab1ea..4e8900969a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2005-02-01 Not Zed <NotZed@Ximian.com>
+ ** See bug #65329.
+
+ * mail-component.c (view_changed_cb): translate special names on
+ the local store.
+
* em-folder-tree-model.c (sort_cb): use the type hint to sort for
inbox, not the name.
(emft_is_special_local_folder): removed.
diff --git a/mail/mail-component.c b/mail/mail-component.c
index e5b96aa7cf..e51a30268c 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -524,7 +524,12 @@ view_changed_cb(EMFolderView *emfv, EInfoLabel *el)
message_list_free_uids(emfv->list, selected);
}
- e_info_label_set_info(el, name, tmp->str);
+ if (emfv->folder->parent_store == mail_component_peek_local_store(NULL)
+ && (!strcmp (name, "Drafts") || !strcmp (name, "Inbox")
+ || !strcmp (name, "Outbox") || !strcmp (name, "Sent")))
+ e_info_label_set_info(el, _(name), tmp->str);
+ else
+ e_info_label_set_info(el, name, tmp->str);
g_string_free(tmp, TRUE);
camel_object_free(emfv->folder, CAMEL_FOLDER_NAME, name);
} else {