X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Fcurs_main.c;h=b094f23f561d4a0be79097d8a5532363883eee75;hb=2ac2bb6e436cef59dcbb88031b276aa81a109785;hp=bf3c5a1f31a8c71d121b13d64d57f2ae17c2385b;hpb=82589516e2473b5451218d7b00a9dfbc3e18f3ca;p=apps%2Fmadmutt.git diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index bf3c5a1..b094f23 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -14,14 +14,13 @@ #include #include -#include - #include #include "curses.h" #include "menu.h" #include "mutt.h" +#include "crypt.h" #include "pattern.h" #include "alias.h" #include "sort.h" @@ -35,10 +34,6 @@ #include #endif -#ifdef USE_SASL -#include "mutt_sasl.h" -#endif - static const char *No_mailbox_is_open = N_("No mailbox is open."); static const char *There_are_no_messages = N_("There are no messages."); static const char *Mailbox_is_read_only = N_("Mailbox is read-only."); @@ -2031,13 +2026,6 @@ int mutt_index_menu (void) menu->redraw = REDRAW_FULL; break; - case OP_MAIL_KEY: - CHECK_ATTACH; - ci_send_message (SENDKEY, NULL, NULL, NULL, NULL); - menu->redraw = REDRAW_FULL; - break; - - case OP_EXTRACT_KEYS: CHECK_MSGCOUNT; CHECK_VISIBLE; @@ -2293,10 +2281,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: @@ -2325,9 +2309,6 @@ int mutt_index_menu (void) #ifdef USE_NNTP /* Close all open NNTP connections */ nntp_logout_all (); -#endif -#ifdef USE_SASL - mutt_sasl_done (); #endif }