diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-04-07 10:46:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-04-07 10:46:46 +0800 |
commit | 6f9d514d205215465b89deb4db28f6ecb403dff5 (patch) | |
tree | e58ab8e27ce274599d05357254f0df8b92ea722f /mail/em-folder-properties.c | |
parent | 271d15aab627b71eebacbf0b3b1219928707336b (diff) | |
download | gsoc2013-evolution-6f9d514d205215465b89deb4db28f6ecb403dff5.tar.gz gsoc2013-evolution-6f9d514d205215465b89deb4db28f6ecb403dff5.tar.zst gsoc2013-evolution-6f9d514d205215465b89deb4db28f6ecb403dff5.zip |
** Fixes bug #383953
2007-04-06 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #383953
* em-folder-properties.c (emfp_get_folder_item):
Show unread messages before total messages.
* mail-component.c (view_changed):
Show unread or selected messages before total messages.
svn path=/trunk/; revision=33396
Diffstat (limited to 'mail/em-folder-properties.c')
-rw-r--r-- | mail/em-folder-properties.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c index a278fa3b43..4b1aabade3 100644 --- a/mail/em-folder-properties.c +++ b/mail/em-folder-properties.c @@ -145,27 +145,27 @@ emfp_get_folder_item(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent, gtk_widget_show (table); gtk_box_pack_start ((GtkBox *) parent, table, TRUE, TRUE, 0); - /* TODO: can this be done in a loop? */ /* to be on the safe side, ngettext is used here, see e.g. comment #3 at bug 272567 */ - label = gtk_label_new (ngettext ("Total messages:", "Total messages:", prop_data->total)); + label = gtk_label_new (ngettext ("Unread messages:", "Unread messages:", prop_data->unread)); gtk_widget_show (label); gtk_misc_set_alignment ((GtkMisc *) label, 0.0, 0.5); gtk_table_attach ((GtkTable *) table, label, 0, 1, row, row+1, GTK_FILL, 0, 0, 0); - sprintf(countstr, "%d", prop_data->total); + sprintf(countstr, "%d", prop_data->unread); label = gtk_label_new (countstr); gtk_widget_show (label); gtk_misc_set_alignment ((GtkMisc *) label, 1.0, 0.5); gtk_table_attach ((GtkTable *) table, label, 1, 2, row, row+1, GTK_FILL | GTK_EXPAND, 0, 0, 0); row++; + /* TODO: can this be done in a loop? */ /* to be on the safe side, ngettext is used here, see e.g. comment #3 at bug 272567 */ - label = gtk_label_new (ngettext ("Unread messages:", "Unread messages:", prop_data->unread)); + label = gtk_label_new (ngettext ("Total messages:", "Total messages:", prop_data->total)); gtk_widget_show (label); gtk_misc_set_alignment ((GtkMisc *) label, 0.0, 0.5); gtk_table_attach ((GtkTable *) table, label, 0, 1, row, row+1, GTK_FILL, 0, 0, 0); - sprintf(countstr, "%d", prop_data->unread); + sprintf(countstr, "%d", prop_data->total); label = gtk_label_new (countstr); gtk_widget_show (label); gtk_misc_set_alignment ((GtkMisc *) label, 1.0, 0.5); |