From: Richard Russon Date: Wed, 25 Sep 2019 12:04:05 +0000 (+0100) Subject: fix sidebar colour for 'new' mailboxes X-Git-Tag: 2019-10-25~24^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07c35df960d2f3a295bb7786fabbe2d44fe89fb0;p=neomutt fix sidebar colour for 'new' mailboxes This depends on the new-ness of a Mailbox, not the presence of new emails. --- diff --git a/sidebar.c b/sidebar.c index c94706dd0..f551f89c3 100644 --- a/sidebar.c +++ b/sidebar.c @@ -842,7 +842,7 @@ static void draw_sidebar(int num_rows, int num_cols, int div_width) } else if (entryidx == HilIndex) mutt_curses_set_color(MT_COLOR_HIGHLIGHT); - else if ((m->msg_unread > 0) || (m->has_new)) + else if (m->has_new) mutt_curses_set_color(MT_COLOR_NEW); else if (m->msg_flagged > 0) mutt_curses_set_color(MT_COLOR_FLAGGED);