X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcurs_main.c;h=799d08b122b1373d020d2596122cdd5ff62669d4;hp=31c11bf400b6b859aeddad608769cb305d34263e;hb=785bb3cb4dd83ec1071998a64af74e333d076347;hpb=5b019f814d9278d1567381877b96a1731d0f7e2b diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index 31c11bf..799d08b 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -14,7 +14,7 @@ #include #include -#include +#include "pop.h" #include "curses.h" #include "menu.h" @@ -27,7 +27,6 @@ #include "recvattach.h" #include "buffy.h" #include "thread.h" -#include "mutt_sasl.h" #include @@ -394,10 +393,10 @@ int mutt_index_menu (void) int oldcount = -1; int rc = -1; MUTTMENU *menu; - char *cp; /* temporary variable. */ + const char *cp; /* temporary variable. */ 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 (); @@ -1743,8 +1742,7 @@ int mutt_index_menu (void) 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; @@ -2282,10 +2280,6 @@ int mutt_index_menu (void) mutt_what_key (); break; - case OP_REBUILD_CACHE: - mx_rebuild_cache (); - break; - case OP_SIDEBAR_SCROLL_UP: case OP_SIDEBAR_SCROLL_DOWN: case OP_SIDEBAR_NEXT: @@ -2315,7 +2309,6 @@ int mutt_index_menu (void) /* Close all open NNTP connections */ nntp_logout_all (); #endif - mutt_sasl_done (); } mutt_menuDestroy (&menu);