projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename a bunch of modules
[apps/madmutt.git]
/
lib-ui
/
curs_main.c
diff --git
a/lib-ui/curs_main.c
b/lib-ui/curs_main.c
index
b094f23
..
d83f1bf
100644
(file)
--- a/
lib-ui/curs_main.c
+++ b/
lib-ui/curs_main.c
@@
-14,7
+14,7
@@
#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
-#include
<pop/pop.h>
+#include
"pop.h"
#include "curses.h"
#include "menu.h"
#include "curses.h"
#include "menu.h"
@@
-27,6
+27,7
@@
#include "recvattach.h"
#include "buffy.h"
#include "thread.h"
#include "recvattach.h"
#include "buffy.h"
#include "thread.h"
+#include "score.h"
#include <imap/imap_private.h>
#include <imap/imap_private.h>
@@
-393,10
+394,10
@@
int mutt_index_menu (void)
int oldcount = -1;
int rc = -1;
MUTTMENU *menu;
int oldcount = -1;
int rc = -1;
MUTTMENU *menu;
- c
har *cp;
/* temporary variable. */
+ c
onst char *cp;
/* temporary variable. */
int index_hint; /* used to restore cursor position */
int do_buffy_notify = 1;
int index_hint; /* used to restore cursor position */
int do_buffy_notify = 1;
- int closed = 0;
/* did we OP_QUIT or OP_EXIT out of this menu? */
+ int closed = 0; /* did we OP_QUIT or OP_EXIT out of this menu? */
int attach_msg = option (OPTATTACHMSG);
menu = mutt_new_menu ();
int attach_msg = option (OPTATTACHMSG);
menu = mutt_new_menu ();
@@
-474,7
+475,7
@@
int mutt_index_menu (void)
sidebar_draw ();
mutt_message (_("New mail in this mailbox."));
sidebar_draw ();
mutt_message (_("New mail in this mailbox."));
- if (
MC
ore.beep_new)
+ if (
mod_c
ore.beep_new)
beep ();
}
else if (check == M_FLAGS)
beep ();
}
else if (check == M_FLAGS)
@@
-501,7
+502,7
@@
int mutt_index_menu (void)
menu->redraw |= REDRAW_SIDEBAR;
}
if (do_buffy_notify) {
menu->redraw |= REDRAW_SIDEBAR;
}
if (do_buffy_notify) {
- if (buffy_notify () &&
MC
ore.beep_new)
+ if (buffy_notify () &&
mod_c
ore.beep_new)
beep ();
}
else
beep ();
}
else
@@
-969,7
+970,7
@@
int mutt_index_menu (void)
break;
}
break;
}
- if (query_quadoption2(
MC
ore.quit, _("Quit Madmutt?")) == M_YES) {
+ if (query_quadoption2(
mod_c
ore.quit, _("Quit Madmutt?")) == M_YES) {
int check;
oldcount = Context ? Context->msgcount : 0;
int check;
oldcount = Context ? Context->msgcount : 0;
@@
-1297,7
+1298,7
@@
int mutt_index_menu (void)
}
if ((menu->menu == MENU_MAIN)
}
if ((menu->menu == MENU_MAIN)
- && (query_quadoption2(
MC
ore.quit,
+ && (query_quadoption2(
mod_c
ore.quit,
_("Exit Madmutt without saving?")) == M_YES))
{
if (Context) {
_("Exit Madmutt without saving?")) == M_YES))
{
if (Context) {
@@
-1742,8
+1743,7
@@
int mutt_index_menu (void)
CHECK_VISIBLE;
CHECK_READONLY;
CHECK_VISIBLE;
CHECK_READONLY;
- if (mutt_change_flag (tag ? NULL : CURHDR, (op == OP_MAIN_SET_FLAG)) ==
- 0) {
+ if (mutt_change_flag (tag ? NULL : CURHDR, (op == OP_MAIN_SET_FLAG)) == 0) {
menu->redraw = REDRAW_STATUS;
if (tag)
menu->redraw |= REDRAW_INDEX;
menu->redraw = REDRAW_STATUS;
if (tag)
menu->redraw |= REDRAW_INDEX;