From f879ae52c84f63a50b7f734832f945ab54e96063 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 1 Feb 2005 08:35:03 +0000 Subject: ** See bug #65329. 2005-02-01 Not Zed ** See bug #65329. * mail-component.c (view_changed_cb): translate special names on the local store. svn path=/trunk/; revision=28655 --- mail/ChangeLog | 5 +++++ mail/mail-component.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 + ** 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 { -- cgit