Nico Golde:
[apps/madmutt.git] / functions.h
index 9ef5858..4bf22ee 100644 (file)
@@ -175,6 +175,8 @@ struct binding_t OpMain[] = {
   { "sidebar-scroll-down",     OP_SIDEBAR_SCROLL_DOWN, NULL },
   { "sidebar-next",    OP_SIDEBAR_NEXT, NULL },
   { "sidebar-prev",    OP_SIDEBAR_PREV, NULL },
+  { "sidebar-next-new", OP_SIDEBAR_NEXT_NEW, NULL},
+  { "sidebar-prev-new", OP_SIDEBAR_PREV_NEW, NULL},
   { "sidebar-open", OP_SIDEBAR_OPEN, NULL },
   { NULL,                      0,                              NULL }
 };
@@ -288,6 +290,8 @@ struct binding_t OpPager[] = {
   { "sidebar-scroll-down",     OP_SIDEBAR_SCROLL_DOWN, NULL },
   { "sidebar-next",    OP_SIDEBAR_NEXT, NULL },
   { "sidebar-prev",    OP_SIDEBAR_PREV, NULL },
+  { "sidebar-next-new", OP_SIDEBAR_NEXT_NEW, NULL},
+  { "sidebar-prev-new", OP_SIDEBAR_PREV_NEW, NULL},
   { "sidebar-open", OP_SIDEBAR_OPEN, NULL },
   { NULL,              0,                              NULL }
 };
@@ -413,6 +417,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 +472,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 },