summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2009-04-04 12:45:46 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2009-04-04 12:45:46 +0000
commite099a5847df411a18a5f16ad59d64b5203e402be (patch)
tree80902fda6878fe62a197bd9cfce8aa8374466d51
parent84a7acd0f42e3c30c896d65699bbd4b1a3cedd41 (diff)
Fixes a bug where read messages continued to display the unread icon.css_sprites
-rw-r--r--roundcubemail/program/steps/mail/func.inc4
-rw-r--r--roundcubemail/skins/default/mail.css3
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 = '<div class="icon-holder forwarded"></div>';
- else if (!$header->seen)
- $message_icon = '<div class="icon-holder unread"></div>';
else
$message_icon = '<div class="icon-holder message"></div>';
@@ -343,7 +341,7 @@ function rcmail_message_list($attrib)
$OUTPUT->set_env('messageicon', '<div class="icon-holder message"></div>');
$OUTPUT->set_env('deletedicon', '<div class="icon-holder deleted"></div>');
- $OUTPUT->set_env('unreadicon', '<div class="icon-holder unread"></div>');
+ $OUTPUT->set_env('unreadicon', '<div class="icon-holder message"></div>');
$OUTPUT->set_env('repliedicon', '<div class="icon-holder replied"></div>');
$OUTPUT->set_env('forwardedicon', '<div class="icon-holder forwarded"></div>');
$OUTPUT->set_env('forwardedrepliedicon', '<div class="icon-holder forwardedreplied"></div>');
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;
}