aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-component.c5
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)