]> granicus.if.org Git - neomutt/commitdiff
fix sidebar colour for 'new' mailboxes
authorRichard Russon <rich@flatcap.org>
Wed, 25 Sep 2019 12:04:05 +0000 (13:04 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 1 Oct 2019 10:12:25 +0000 (11:12 +0100)
This depends on the new-ness of a Mailbox, not the presence of new
emails.

sidebar.c

index c94706dd03f7979ebf9f764cf52568ecdcc8c597..f551f89c3e5bccf09b1a46e42b34da80ddeb2716 100644 (file)
--- 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);