Andreas Krennmair:
[apps/madmutt.git] / functions.h
index 9ef5858..9047248 100644 (file)
@@ -413,6 +413,7 @@ struct binding_t OpBrowser[] = {
 #ifdef USE_IMAP
   { "create-mailbox",   OP_CREATE_MAILBOX,      "C" },
   { "delete-mailbox",   OP_DELETE_MAILBOX,      "d" },
+  { "rename-mailbox",   OP_RENAME_MAILBOX,      "r" },
 #endif
 #if defined USE_IMAP || defined USE_NNTP
   { "subscribe",       OP_BROWSER_SUBSCRIBE,   "s" },
@@ -467,11 +468,20 @@ struct binding_t OpPgp[] = {
   { NULL,              0,                              NULL }
 };
 
-/* Don't know an useful key binding yet. But. just in case, adding this already */
+
+
+/* When using the GPGME based backend we have some useful functions
+   for the SMIME menu.  */
 struct binding_t OpSmime[] = {
+#ifdef CRYPT_BACKEND_GPGME
+  { "verify-key",    OP_VERIFY_KEY,             "c" },
+  { "view-name",     OP_VIEW_ID,               "%" },
+#endif
   { NULL,      0,      NULL }
 };
 
+
+
 #ifdef MIXMASTER
 struct binding_t OpMix[] = {
   { "accept",          OP_MIX_USE,     M_ENTER_S },