From e9cbbd6d2f13c05021af4470332317c727acb693 Mon Sep 17 00:00:00 2001 From: nion Date: Wed, 2 Mar 2005 09:14:06 +0000 Subject: [PATCH] Nico Golde: - fixes with tags in manual - fixes for the sidebar git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@129 e385b8ad-14ed-0310-8656-cc95a2468c6d --- curs_main.c | 7 +++++-- doc/manual.sgml.head | 2 +- pager.c | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/curs_main.c b/curs_main.c index bbbc6c4..14bb552 100644 --- a/curs_main.c +++ b/curs_main.c @@ -564,8 +564,10 @@ int mutt_index_menu (void) { /* 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)) @@ -577,7 +579,7 @@ int mutt_index_menu (void) 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); @@ -2374,6 +2376,7 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); case OP_BUFFY_LIST: mutt_buffy_list (); + menu->redraw = REDRAW_FULL; break; case OP_VIEW_ATTACHMENTS: diff --git a/doc/manual.sgml.head b/doc/manual.sgml.head index 4e54438..3c4095b 100644 --- a/doc/manual.sgml.head +++ b/doc/manual.sgml.head @@ -2210,7 +2210,7 @@ sidebar-next Hilights the next mailbox sidebar-next-new Hilights the next mailbox with new mail sidebar-previous Hilights the previous mailbox sidebar-open Opens the currently hilighted mailbox - + Reasonable key bindings look e.g. like this: diff --git a/pager.c b/pager.c index 95d1f08..17a08b9 100644 --- a/pager.c +++ b/pager.c @@ -2699,6 +2699,7 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); case OP_BUFFY_LIST: mutt_buffy_list (); + redraw |= REDRAW_SIDEBAR; break; case OP_VIEW_ATTACHMENTS: -- 2.20.1