From e099a5847df411a18a5f16ad59d64b5203e402be Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Sat, 4 Apr 2009 12:45:46 +0000 Subject: Fixes a bug where read messages continued to display the unread icon. --- roundcubemail/program/steps/mail/func.inc | 4 +--- roundcubemail/skins/default/mail.css | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index c3320855d..0cf70b46a 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -270,8 +270,6 @@ function rcmail_message_list($attrib) } else if ($header->forwarded) $message_icon = '
'; - else if (!$header->seen) - $message_icon = '
'; else $message_icon = '
'; @@ -343,7 +341,7 @@ function rcmail_message_list($attrib) $OUTPUT->set_env('messageicon', '
'); $OUTPUT->set_env('deletedicon', '
'); - $OUTPUT->set_env('unreadicon', '
'); + $OUTPUT->set_env('unreadicon', '
'); $OUTPUT->set_env('repliedicon', '
'); $OUTPUT->set_env('forwardedicon', '
'); $OUTPUT->set_env('forwardedrepliedicon', '
'); diff --git a/roundcubemail/skins/default/mail.css b/roundcubemail/skins/default/mail.css index 658eed68d..24be7adbc 100644 --- a/roundcubemail/skins/default/mail.css +++ b/roundcubemail/skins/default/mail.css @@ -364,6 +364,9 @@ div.icon-holder.unread { div.icon-holder.message { background: url(images/icons/rc_icons.png) no-repeat scroll -64px 0; } +#messagelist tr.unread div.icon-holder.message { + background: url(images/icons/rc_icons.png) no-repeat scroll -64px -16px; +} div.icon-holder.delete { background: url(images/icons/rc_icons.png) no-repeat scroll 0 -32px; } -- cgit v1.2.3