From 636bd77074638a1132b8933c4fb114373aaec296 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 24 Nov 2011 05:26:35 -0500
Subject: [PATCH] - Mark (with different color) folders with recent messages (#1486234)

---
 program/steps/mail/func.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 8407b06..2d25fe3 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -472,7 +472,7 @@
 }
 
 
-function rcmail_send_unread_count($mbox_name, $force=false, $count=null)
+function rcmail_send_unread_count($mbox_name, $force=false, $count=null, $mark='')
 {
   global $RCMAIL;
 
@@ -484,7 +484,7 @@
     $unseen = $count;
 
   if ($unseen != $old_unseen || ($mbox_name == 'INBOX'))
-    $RCMAIL->output->command('set_unread_count', $mbox_name, $unseen, ($mbox_name == 'INBOX'));
+    $RCMAIL->output->command('set_unread_count', $mbox_name, $unseen, ($mbox_name == 'INBOX'), $mark);
 
   rcmail_set_unseen_count($mbox_name, $unseen);
 

--
Gitblit v1.9.1