X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_main.c;h=02780692da9d79a740b829c8d2655c9c94ad2e64;hp=83e18086fc14a40fd6c7b378162c3b9071ce516b;hb=21d34545d4204a0f5672c8bdbeb6a79803eb3a54;hpb=546433d312df43754962a34eac05fee84d73a455 diff --git a/curs_main.c b/curs_main.c index 83e1808..0278069 100644 --- a/curs_main.c +++ b/curs_main.c @@ -110,6 +110,7 @@ static const char *No_visible = N_("No visible messages."); #define CURHDR Context->hdrs[Context->v2r[menu->current]] #define OLDHDR Context->hdrs[Context->v2r[menu->oldcurrent]] #define UNREAD(h) mutt_thread_contains_unread (Context, h) +#define SW (option(OPTMBOXPANE)?SidebarWidth:0) extern const char *ReleaseDate; extern size_t UngetCount; @@ -561,13 +562,13 @@ int mutt_index_menu (void) } if (menu->redraw & REDRAW_STATUS) { - DrawFullLine = 1; menu_status_line (buf, sizeof (buf), menu, NONULL (Status)); - DrawFullLine = 0; CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES - 2); + sidebar_draw_frames(); SETCOLOR (MT_COLOR_STATUS); BKGDSET (MT_COLOR_STATUS); - mutt_paddstr (COLS, buf); + move(option (OPTSTATUSONTOP) ? 0 : LINES - 2,SW); + mutt_paddstr (COLS-SW, buf); SETCOLOR (MT_COLOR_NORMAL); BKGDSET (MT_COLOR_NORMAL); sidebar_set_buffystats (Context); @@ -989,6 +990,8 @@ int mutt_index_menu (void) mutt_draw_tree (Context); menu->redraw = REDRAW_FULL; } + if (Context->pattern) + mutt_message _("To view all messages, limit to \"all\"."); break; case OP_QUIT: