projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Andreas Krennmair:
[apps/madmutt.git]
/
curs_main.c
diff --git
a/curs_main.c
b/curs_main.c
index
7a01bad
..
bbbc6c4
100644
(file)
--- a/
curs_main.c
+++ b/
curs_main.c
@@
-537,6
+537,8
@@
int mutt_index_menu (void)
mutt_error _("Mailbox was externally modified. Flags may be wrong.");
else if (check == M_NEW_MAIL)
{
mutt_error _("Mailbox was externally modified. Flags may be wrong.");
else if (check == M_NEW_MAIL)
{
+ /* on new mail: redraw sidebar */
+ draw_sidebar (CurrentMenu);
mutt_message _("New mail in this mailbox.");
if (option (OPTBEEPNEW))
beep ();
mutt_message _("New mail in this mailbox.");
if (option (OPTBEEPNEW))
beep ();
@@
-609,6
+611,7
@@
int mutt_index_menu (void)
SETCOLOR (MT_COLOR_STATUS);
mutt_paddstr (COLS, buf);
SETCOLOR (MT_COLOR_NORMAL);
SETCOLOR (MT_COLOR_STATUS);
mutt_paddstr (COLS, buf);
SETCOLOR (MT_COLOR_NORMAL);
+ set_buffystats (Context);
menu->redraw &= ~REDRAW_STATUS;
if (option(OPTXTERMSETTITLES))
{
menu->redraw &= ~REDRAW_STATUS;
if (option(OPTXTERMSETTITLES))
{
@@
-1399,7
+1402,7
@@
CHECK_IMAP_ACL(IMAP_ACL_DELETE);
if ((menu->menu == MENU_MAIN)
&& (query_quadoption (OPT_QUIT,
if ((menu->menu == MENU_MAIN)
&& (query_quadoption (OPT_QUIT,
- _("Exit Mutt without saving?")) == M_YES))
+ _("Exit Mutt
-ng
without saving?")) == M_YES))
{
if (Context)
{
{
if (Context)
{
@@
-2393,6
+2396,8
@@
CHECK_IMAP_ACL(IMAP_ACL_DELETE);
case OP_SIDEBAR_SCROLL_DOWN:
case OP_SIDEBAR_NEXT:
case OP_SIDEBAR_PREV:
case OP_SIDEBAR_SCROLL_DOWN:
case OP_SIDEBAR_NEXT:
case OP_SIDEBAR_PREV:
+ case OP_SIDEBAR_NEXT_NEW:
+ case OP_SIDEBAR_PREV_NEW:
scroll_sidebar(op, menu->menu);
break;
default:
scroll_sidebar(op, menu->menu);
break;
default: