Rocco Rutte:
[apps/madmutt.git] / functions.h
index 37c4b64..4bf22ee 100644 (file)
@@ -69,6 +69,7 @@ struct binding_t OpGeneric[] = {
 struct binding_t OpMain[] = {
   { "create-alias",            OP_CREATE_ALIAS,                "a" },
   { "bounce-message",          OP_BOUNCE_MESSAGE,              "b" },
+  { "break-thread",            OP_MAIN_BREAK_THREAD,           "#" },
   { "change-folder",           OP_MAIN_CHANGE_FOLDER,          "c" },
   { "change-folder-readonly",  OP_MAIN_CHANGE_FOLDER_READONLY, "\033c" },
 #ifdef USE_NNTP
@@ -107,6 +108,7 @@ struct binding_t OpMain[] = {
   { "next-undeleted",          OP_MAIN_NEXT_UNDELETED,         "j" },
   { "previous-undeleted",      OP_MAIN_PREV_UNDELETED,         "k" },
   { "limit",                   OP_MAIN_LIMIT,                  "l" },
+  { "link-threads",            OP_MAIN_LINK_THREADS,           "&" },
   { "list-reply",              OP_LIST_REPLY,                  "L" },
   { "mail",                    OP_MAIL,                        "m" },
   { "toggle-new",              OP_TOGGLE_NEW,                  "N" },
@@ -173,11 +175,14 @@ 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 }
 };
 
 struct binding_t OpPager[] = {
+  { "break-thread",    OP_MAIN_BREAK_THREAD,           "#" },
   { "create-alias",    OP_CREATE_ALIAS,                "a" },
   { "bounce-message",  OP_BOUNCE_MESSAGE,              "b" },
   { "change-folder",   OP_MAIN_CHANGE_FOLDER,          "c" },
@@ -208,6 +213,7 @@ struct binding_t OpPager[] = {
   { "next-entry",      OP_NEXT_ENTRY,                  "J" },
   { "previous-undeleted",OP_MAIN_PREV_UNDELETED,       "k" },
   { "previous-entry",  OP_PREV_ENTRY,                  "K" },
+  { "link-threads",    OP_MAIN_LINK_THREADS,           "&" },
   { "list-reply",      OP_LIST_REPLY,                  "L" },
   { "redraw-screen",   OP_REDRAW,                      "\014" },
   { "mail",            OP_MAIL,                        "m" },
@@ -284,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 }
 };
@@ -409,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" },
@@ -463,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 },