aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorPriit Laes <plaes@svn.gnome.org>2007-10-31 23:53:48 +0800
committerPriit Laes <plaes@src.gnome.org>2007-10-31 23:53:48 +0800
commit219faf7e428077af21213fedfc7a33432f4c545f (patch)
tree8da0703fb8f0d310daa26abc14fb69a7c1cdc0bf /mail/mail-component.c
parent82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd (diff)
downloadgsoc2013-evolution-219faf7e428077af21213fedfc7a33432f4c545f.tar.gz
gsoc2013-evolution-219faf7e428077af21213fedfc7a33432f4c545f.tar.zst
gsoc2013-evolution-219faf7e428077af21213fedfc7a33432f4c545f.zip
Fix the ordering of the string components.
2007-10-31 Priit Laes <plaes@svn.gnome.org> * mail-component.c: (view_changed): Fix the ordering of the string components. svn path=/trunk/; revision=34469
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c5
1 files changed, 2 insertions, 3 deletions
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)