Nico Golde:
[apps/madmutt.git] / sidebar.c
index e914533..5692cdd 100644 (file)
--- a/sidebar.c
+++ b/sidebar.c
@@ -243,7 +243,7 @@ int draw_sidebar(int menu) {
     } else if(!prev_show_value && option(OPTMBOXPANE)) {
       SidebarWidth = saveSidebarWidth;
       /* after toggle: force recounting of all mail */
-      mutt_buffy_check(1);
+      mutt_buffy_check(2);
     }
     prev_show_value = option(OPTMBOXPANE);
   }
@@ -251,7 +251,8 @@ int draw_sidebar(int menu) {
   if ( SidebarWidth == 0 ) return 0;
 
   /* draw the divider */
-  SETCOLOR(MT_COLOR_STATUS);
+  /* SETCOLOR(MT_COLOR_STATUS); */
+    SETCOLOR(MT_COLOR_SIDEBAR);
   for (lines = option (OPTSTATUSONTOP) ? 0 : 1; 
        lines < LINES-1-(menu != MENU_PAGER || option (OPTSTATUSONTOP)); lines++ ) {
     move(lines, SidebarWidth - delim_len);