projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make rx_t be chaine-able so that we can get rid of list2_t (stage 1).
[apps/madmutt.git]
/
lib-ui
/
curs_main.c
diff --git
a/lib-ui/curs_main.c
b/lib-ui/curs_main.c
index
5edd752
..
e23764e
100644
(file)
--- a/
lib-ui/curs_main.c
+++ b/
lib-ui/curs_main.c
@@
-10,18
+10,6
@@
* please see the file GPL in the top level source directory.
*/
* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <sys/wait.h>
-#include <string.h>
-#include <sys/stat.h>
-#include <errno.h>
-
#include <lib-lib/lib-lib.h>
#include <lib-ui/sidebar.h>
#include <lib-lib/lib-lib.h>
#include <lib-ui/sidebar.h>
@@
-488,7
+476,7
@@
int mutt_index_menu (void)
("Mailbox was externally modified. Flags may be wrong."));
else if (check == M_NEW_MAIL) {
/* on new mail: redraw sidebar */
("Mailbox was externally modified. Flags may be wrong."));
else if (check == M_NEW_MAIL) {
/* on new mail: redraw sidebar */
- sidebar_draw (
CurrentMenu
);
+ sidebar_draw ();
mutt_message (_("New mail in this mailbox."));
if (option (OPTBEEPNEW))
mutt_message (_("New mail in this mailbox."));
if (option (OPTBEEPNEW))
@@
-528,10
+516,10
@@
int mutt_index_menu (void)
if (op != -1)
mutt_curs_set (0);
if (menu->redraw & REDRAW_SIDEBAR)
if (op != -1)
mutt_curs_set (0);
if (menu->redraw & REDRAW_SIDEBAR)
- sidebar_draw (
menu->menu
);
+ sidebar_draw ();
if (menu->redraw & REDRAW_FULL) {
menu_redraw_full (menu);
if (menu->redraw & REDRAW_FULL) {
menu_redraw_full (menu);
- sidebar_draw (
menu->menu
);
+ sidebar_draw ();
mutt_show_error ();
}
mutt_show_error ();
}
@@
-2320,7
+2308,7
@@
int mutt_index_menu (void)
case OP_SIDEBAR_PREV:
case OP_SIDEBAR_NEXT_NEW:
case OP_SIDEBAR_PREV_NEW:
case OP_SIDEBAR_PREV:
case OP_SIDEBAR_NEXT_NEW:
case OP_SIDEBAR_PREV_NEW:
- sidebar_scroll (op
, menu->menu
);
+ sidebar_scroll (op);
break;
default:
if (menu->menu == MENU_MAIN)
break;
default:
if (menu->menu == MENU_MAIN)