summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6d49ab8)
fix infinite loop after sidebar visibility toggle (oops!)
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@156
e385b8ad-14ed-0310-8656-
cc95a2468c6d
BuffyNotify++;
tmp->has_new = tmp->new > 0;
}
BuffyNotify++;
tmp->has_new = tmp->new > 0;
}
+ if (BuffyCount > 0 && SidebarWidth > 0)
draw_sidebar (CurrentMenu);
return (BuffyCount);
}
draw_sidebar (CurrentMenu);
return (BuffyCount);
}
saveSidebarWidth = SidebarWidth;
SidebarWidth = 0;
} else if(!prev_show_value && option(OPTMBOXPANE)) {
saveSidebarWidth = SidebarWidth;
SidebarWidth = 0;
} else if(!prev_show_value && option(OPTMBOXPANE)) {
- SidebarWidth = saveSidebarWidth;
/* after toggle: force recounting of all mail */
mutt_buffy_check(1);
/* after toggle: force recounting of all mail */
mutt_buffy_check(1);
+ SidebarWidth = saveSidebarWidth;
}
prev_show_value = option(OPTMBOXPANE);
}
}
prev_show_value = option(OPTMBOXPANE);
}