summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-19 16:14:10 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-19 16:14:10 +0000
commit8457107e75f9fba6ca0d597544a5ecf253507425 (patch)
tree8a9bdf9b5a85b7682718e1d9e091897f84c5478e /roundcubemail/program/steps
parentfc950795ac10634c405ee33d19f02f568bc4da76 (diff)
- added set_message, set_message_icon and set_message_status functions
- icon setting more unified + some small fixes/typos - get rid of *_from_preview() functions (Thomas, don't be mad, it was truly tested ;)) git-svn-id: https://svn.roundcube.net/trunk@1848 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/show.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc
index 0b15c98d9..e5ea85791 100644
--- a/roundcubemail/program/steps/mail/show.inc
+++ b/roundcubemail/program/steps/mail/show.inc
@@ -71,8 +71,8 @@ if ($_GET['_uid']) {
$marked = $IMAP->set_flag($MESSAGE->uid, 'SEEN');
if($RCMAIL->action == 'preview' && $marked != -1)
{
- $OUTPUT->command('set_unread_count_from_preview', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN'), ($mbox_name == 'INBOX'));
- $OUTPUT->command('mark_as_read_from_preview', $MESSAGE->uid);
+ $OUTPUT->command('parent.set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN'), ($mbox_name == 'INBOX'));
+ $OUTPUT->command('parent.set_message', $MESSAGE->uid, 'unread', false);
}
}