diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-component.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 35d529f50d..b342ed62a5 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2007-10-31 Priit Laes <plaes@svn.gnome.org> + + * mail-component.c: (view_changed): Fix the ordering of the string + components. + 2007-10-30 Michael Monreal <mmonreal@svn.gnome.org> ** Fix for bug #446035 diff --git a/mail/mail-component.c b/mail/mail-component.c index 3cb63c7e68..04198ecfb6 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -520,6 +520,8 @@ view_changed(EMFolderView *emfv, EComponentView *component_view) /* This is so that if any of these are * shared/reused, we fallback to the standard * display behaviour */ + if (selected->len > 1) + g_string_append_printf(tmp, ngettext ("%d selected, ", "%d selected, ", selected->len), selected->len); if (CAMEL_IS_VTRASH_FOLDER(emfv->folder)) { if (((CamelVTrashFolder *)emfv->folder)->type == CAMEL_VTRASH_FOLDER_TRASH) { @@ -542,9 +544,6 @@ view_changed(EMFolderView *emfv, EComponentView *component_view) g_string_append_printf(tmp, ngettext ("%d total", "%d total", visible), visible); } - if (selected->len > 1) - g_string_append_printf(tmp, ngettext (" %d selected, ", " %d selected, ", selected->len), selected->len); - message_list_free_uids(emfv->list, selected); if (emfv->folder->parent_store == mail_component_peek_local_store(NULL) |