X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=curs_main.c;h=bbbc6c44904e6f15354f9bd5427aeba1ce15e09d;hb=4b257b64105713fc439d8a00db97a117319e8009;hp=59817668e6c4e76bebac808c48b6efa24b6fadb8;hpb=82c978b426a6669d432c22f0773d807e2a974747;p=apps%2Fmadmutt.git diff --git a/curs_main.c b/curs_main.c index 5981766..bbbc6c4 100644 --- a/curs_main.c +++ b/curs_main.c @@ -537,6 +537,8 @@ int mutt_index_menu (void) 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 (); @@ -1400,7 +1402,7 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); if ((menu->menu == MENU_MAIN) && (query_quadoption (OPT_QUIT, - _("Exit Mutt without saving?")) == M_YES)) + _("Exit Mutt-ng without saving?")) == M_YES)) { if (Context) { @@ -2394,6 +2396,8 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); case OP_SIDEBAR_SCROLL_DOWN: case OP_SIDEBAR_NEXT: case OP_SIDEBAR_PREV: + case OP_SIDEBAR_NEXT_NEW: + case OP_SIDEBAR_PREV_NEW: scroll_sidebar(op, menu->menu); break; default: