X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=keymap.c;h=106df7275a91d02ccfc47335eb28303b32947020;hp=17ee21fdedf94ce71733564ba690818cba5a87bc;hb=8c9ac00dc8d607d5caaf1f27022d07c8152981f9;hpb=9468c36e7656e50a91f759e3f5498b7f86dbec30 diff --git a/keymap.c b/keymap.c index 17ee21f..106df72 100644 --- a/keymap.c +++ b/keymap.c @@ -14,7 +14,7 @@ #include "mutt.h" #include "keymap.h" -#include +#include "crypt.h" #define MUTT_FUNCTIONS_VALUES #include "functions.def" @@ -57,7 +57,7 @@ static struct mapping_t KeyNames[] = { #ifdef KEY_ENTER {"", KEY_ENTER}, #endif - {"", M_ENTER_C}, + {"", '\n'}, {"", '\033'}, {"", '\t'}, {"", ' '}, @@ -501,12 +501,8 @@ void km_init (void) create_bindings (OpAlias, MENU_ALIAS); create_bindings (OpPgp, MENU_PGP); create_bindings (OpSmime, MENU_SMIME); - -#ifdef CRYPT_BACKEND_GPGME create_bindings (OpPgp, MENU_KEY_SELECT_PGP); create_bindings (OpSmime, MENU_KEY_SELECT_SMIME); -#endif - create_bindings (OpMix, MENU_MIX); km_bindkey ("", MENU_MIX, OP_GENERIC_SELECT_ENTRY); @@ -720,14 +716,10 @@ struct binding_t *km_get_table (int menu) return OpQuery; case MENU_PGP: return OpPgp; - -#ifdef CRYPT_BACKEND_GPGME case MENU_KEY_SELECT_PGP: return OpPgp; case MENU_KEY_SELECT_SMIME: return OpSmime; -#endif - case MENU_MIX: return OpMix; }