diff options
author | Kevin McCarthy <kevin@8t8.us> | 2019-07-19 12:54:32 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2019-08-03 14:08:09 -0700 |
commit | 959628d079b6efaa9c724f9be83af3d6061fdae4 (patch) | |
tree | c6d3edc4ca66ae97dab6b3df502bf86a0e57c574 /functions.h | |
parent | 009b62c9f773b82b20b6798be3125f471569f14d (diff) |
Add autocrypt line to the compose menu.
Remove the hardcoded HDR_ATTACH offset calcuation, and add an explicit
enum for the "-- Attachments" line to make loops and padding array
sizes easier.
Add security and recommendataion fields on the line.
Add mutt_autocrypt_ui_recommendation, following the autocrypt spec
guidelines.
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 5b9459b5..6e9ba390 100644 --- a/functions.h +++ b/functions.h @@ -362,6 +362,9 @@ const struct binding_t OpCompose[] = { /* map: compose */ { "print-entry", OP_PRINT, "l" }, { "edit-mime", OP_COMPOSE_EDIT_MIME, "m" }, { "new-mime", OP_COMPOSE_NEW_MIME, "n" }, +#ifdef USE_AUTOCRYPT + { "autocrypt-menu", OP_COMPOSE_AUTOCRYPT_MENU, "o" }, +#endif { "postpone-message", OP_COMPOSE_POSTPONE_MESSAGE, "P" }, { "edit-reply-to", OP_COMPOSE_EDIT_REPLY_TO, "r" }, { "rename-attachment",OP_COMPOSE_RENAME_ATTACHMENT, "\017" }, |