X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pager.c;h=95d1f08694f71fa23ea51b788490527e581c176a;hb=7706f95bf6ba306bdec9ab638ab59cdc28960892;hp=b735abf4747b19c9c1c830006fff72a224782993;hpb=5c310cabcfafe551dcad7638c007daae1c7d3710;p=apps%2Fmadmutt.git diff --git a/pager.c b/pager.c index b735abf..95d1f08 100644 --- a/pager.c +++ b/pager.c @@ -1773,13 +1773,12 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra) /* redraw the pager_index indicator, because the * flags for this message might have changed. */ menu_redraw_current (index); - draw_sidebar(MENU_PAGER); + draw_sidebar(MENU_PAGER); /* print out the index status bar */ menu_status_line (buffer, sizeof (buffer), index, NONULL(Status)); - move (indexoffset + (option (OPTSTATUSONTOP) ? 0 : (indexlen - 1)), - SidebarWidth); + move (indexoffset + (option (OPTSTATUSONTOP) ? 0 : (indexlen - 1)),option(OPTSTATUSONTOP)?0:SidebarWidth); SETCOLOR (MT_COLOR_STATUS); - mutt_paddstr (COLS-SidebarWidth, buffer); + mutt_paddstr (COLS-(option(OPTSTATUSONTOP)?0:SidebarWidth), buffer); SETCOLOR (MT_COLOR_NORMAL); } /* if we're not using the index, update every time */ @@ -2748,7 +2747,9 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); case OP_SIDEBAR_SCROLL_UP: case OP_SIDEBAR_SCROLL_DOWN: case OP_SIDEBAR_NEXT: + case OP_SIDEBAR_NEXT_NEW: case OP_SIDEBAR_PREV: + case OP_SIDEBAR_PREV_NEW: scroll_sidebar(ch, MENU_PAGER); break; default: