don't highlight spoolfile if not coloured
{ "sidebar_highlight",MT_COLOR_HIGHLIGHT },
{ "sidebar_indicator",MT_COLOR_SB_INDICATOR },
{ "sidebar_new", MT_COLOR_NEW },
+ { "sidebar_spoolfile",MT_COLOR_SB_SPOOLFILE },
#endif
{ NULL, 0 }
};
MT_COLOR_HIGHLIGHT,
MT_COLOR_NEW,
MT_COLOR_SB_INDICATOR,
+ MT_COLOR_SB_SPOOLFILE,
#endif
MT_COLOR_MAX
};
}
} else if (b == HilBuffy) {
SETCOLOR(MT_COLOR_HIGHLIGHT);
+ } else if ((ColorDefs[MT_COLOR_SB_SPOOLFILE] != 0) &&
+ (mutt_strcmp (b->path, Spoolfile) == 0)) {
+ SETCOLOR(MT_COLOR_SB_SPOOLFILE);
} else if (b->msg_unread > 0) {
SETCOLOR(MT_COLOR_NEW);
} else if (b->msg_flagged > 0) {