aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-05-08 13:23:19 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-08 13:23:19 +0800
commit4b0541ac3358b6f094bac4f9d1f3e415e23fd4d5 (patch)
tree24313e1c8e70f832db6756017f17ef28ddad0bfa
parent918cfb0b28bb47ae0ffd3f921e7399aa75b61530 (diff)
downloadgsoc2013-evolution-4b0541ac3358b6f094bac4f9d1f3e415e23fd4d5.tar.gz
gsoc2013-evolution-4b0541ac3358b6f094bac4f9d1f3e415e23fd4d5.tar.zst
gsoc2013-evolution-4b0541ac3358b6f094bac4f9d1f3e415e23fd4d5.zip
Size moved to message info, rather than content info structure.
2000-05-07 NotZed <NotZed@HelixCode.com> * message-list.c (ml_value_at): Size moved to message info, rather than content info structure. svn path=/trunk/; revision=2905
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c8f2ec558f..69a9cb8a86 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-07 NotZed <NotZed@HelixCode.com>
+
+ * message-list.c (ml_value_at): Size moved to message info, rather
+ than content info structure.
+
2000-05-07 Dan Winship <danw@helixcode.com>
* message-list.c (select_msg): unref the message after displaying
diff --git a/mail/message-list.c b/mail/message-list.c
index e0aa14fcef..3380851c7a 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -226,11 +226,7 @@ ml_value_at (ETableModel *etm, int col, int row, void *data)
break;
case COL_SIZE:
- if (msg_info->content) {
- sprintf (buffer, "%d", msg_info->content->size);
- } else {
- sprintf (buffer, "0");
- }
+ sprintf (buffer, "%d", msg_info->size);
retval = buffer;
break;