Nico Golde:
authornion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 2 Mar 2005 09:14:06 +0000 (09:14 +0000)
committernion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 2 Mar 2005 09:14:06 +0000 (09:14 +0000)
  - 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
doc/manual.sgml.head
pager.c

index bbbc6c4..14bb552 100644 (file)
@@ -564,8 +564,10 @@ int mutt_index_menu (void)
     {
      /* check for new mail in the incoming folders */
      oldcount = newcount;
     {
      /* 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_STATUS;
+       menu->redraw |= REDRAW_SIDEBAR;
+     } 
      if (do_buffy_notify)
      {
        if (mutt_buffy_notify () && option (OPTBEEPNEW))
      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 (op != -1)
       mutt_curs_set (0);
-
+    if (menu->redraw & REDRAW_SIDEBAR) draw_sidebar(menu->menu);
     if (menu->redraw & REDRAW_FULL)
     {
       menu_redraw_full (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 ();
 
       case OP_BUFFY_LIST:
         mutt_buffy_list ();
+        menu->redraw = REDRAW_FULL;
         break;
 
       case OP_VIEW_ATTACHMENTS:
         break;
 
       case OP_VIEW_ATTACHMENTS:
index 4e54438..3c4095b 100644 (file)
@@ -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
 sidebar-next-new       Hilights the next mailbox with new mail
 sidebar-previous       Hilights the previous mailbox
 sidebar-open           Opens the currently hilighted mailbox
-</tscreen></verb>
+</verb></tscreen>
 
 Reasonable key bindings look e.g. like this:
 <tscreen><verb>
 
 Reasonable key bindings look e.g. like this:
 <tscreen><verb>
diff --git a/pager.c b/pager.c
index 95d1f08..17a08b9 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -2699,6 +2699,7 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE);
 
       case OP_BUFFY_LIST:
        mutt_buffy_list ();
 
       case OP_BUFFY_LIST:
        mutt_buffy_list ();
+    redraw |= REDRAW_SIDEBAR;
        break;
 
       case OP_VIEW_ATTACHMENTS:
        break;
 
       case OP_VIEW_ATTACHMENTS: