diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/message-list.c | 14 |
2 files changed, 9 insertions, 13 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a45d74992b..a13f4f0b55 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2003-06-16 Jeffrey Stedfast <fejj@ximian.com> + + * message-list.c (ml_tree_value_at): Don't display an unread icon + for a parent message status if it has unread children but has been + read itself. Instead, show that we have unread children by just + making the message test bold (which it was already doing, so + yay... this was easy). Fixes bug #42630. + 2003-06-16 Not Zed <NotZed@Ximian.com> ** See bug #44609 diff --git a/mail/message-list.c b/mail/message-list.c index d694dd2629..fd7d52fe00 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -896,18 +896,7 @@ ml_tree_value_at (ETreeModel *etm, ETreePath path, int col, void *model_data) g_assert (msg_info != NULL); switch (col){ - case COL_MESSAGE_STATUS: { - ETreePath child; - - /* if a tree is collapsed, then scan its insides for details */ - child = e_tree_model_node_get_first_child(etm, path); - if (child && !e_tree_node_is_expanded(message_list->tree, path)) { - if (subtree_unread(message_list, child)) - return GINT_TO_POINTER (4); - else - return GINT_TO_POINTER (3); - } - + case COL_MESSAGE_STATUS: if (msg_info->flags & CAMEL_MESSAGE_ANSWERED) return GINT_TO_POINTER (2); else if (msg_info->flags & CAMEL_MESSAGE_SEEN) @@ -915,7 +904,6 @@ ml_tree_value_at (ETreeModel *etm, ETreePath path, int col, void *model_data) else return GINT_TO_POINTER (0); break; - } case COL_FLAGGED: return GINT_TO_POINTER ((msg_info->flags & CAMEL_MESSAGE_FLAGGED) != 0); case COL_SCORE: { |