mutt_error _("Mailbox was externally modified. Flags may be wrong.");
else if (check == M_NEW_MAIL)
{
+ /* on new mail: redraw sidebar */
+ draw_sidebar (CurrentMenu);
mutt_message _("New mail in this mailbox.");
if (option (OPTBEEPNEW))
beep ();
{
/* check for new mail in the incoming folders */
oldcount = newcount;
- if ((newcount = mutt_buffy_check (0)) != oldcount)
+ if ((newcount = mutt_buffy_check (0)) != oldcount){
menu->redraw |= REDRAW_STATUS;
+ menu->redraw |= REDRAW_SIDEBAR;
+ }
if (do_buffy_notify)
{
if (mutt_buffy_notify () && option (OPTBEEPNEW))
if (op != -1)
mutt_curs_set (0);
-
+ if (menu->redraw & REDRAW_SIDEBAR) draw_sidebar(menu->menu);
if (menu->redraw & REDRAW_FULL)
{
menu_redraw_full (menu);
case OP_BUFFY_LIST:
mutt_buffy_list ();
+ menu->redraw = REDRAW_FULL;
break;
case OP_VIEW_ATTACHMENTS: