]> granicus.if.org Git - neomutt/commitdiff
tags: rename modify-labels/modify-tags
authorMehdi Abaakouk <sileht@sileht.net>
Tue, 19 Sep 2017 19:02:54 +0000 (21:02 +0200)
committerRichard Russon <rich@flatcap.org>
Tue, 3 Oct 2017 12:47:31 +0000 (13:47 +0100)
functions.h

index 0f4ab849af079d5640b65275e2501e48fe5b9356..16fac4c94a2856363e8885be17a976474d400fa9 100644 (file)
@@ -213,6 +213,9 @@ const struct Binding OpMain[] = { /* map: index */
   { "sidebar-toggle-virtual",    OP_SIDEBAR_TOGGLE_VIRTUAL,         NULL },
   { "sidebar-toggle-visible",    OP_SIDEBAR_TOGGLE_VISIBLE,         NULL },
 #endif
+  { "modify-tags",               OP_MAIN_MODIFY_TAGS,             NULL },
+  { "modify-tags-then-hide",     OP_MAIN_MODIFY_TAGS_THEN_HIDE,   NULL },
+/* NOTE(sileht): kept for backward compatibility */
   { "modify-labels",             OP_MAIN_MODIFY_TAGS,             NULL },
   { "modify-labels-then-hide",   OP_MAIN_MODIFY_TAGS_THEN_HIDE,   NULL },
 
@@ -350,8 +353,11 @@ const struct Binding OpPager[] = { /* map: pager */
   { "sidebar-toggle-virtual",    OP_SIDEBAR_TOGGLE_VIRTUAL,       NULL },
   { "sidebar-toggle-visible",    OP_SIDEBAR_TOGGLE_VISIBLE,       NULL },
 #endif
-  { "modify-labels",             OP_MAIN_MODIFY_TAGS,           NULL },
-  { "modify-labels-then-hide",   OP_MAIN_MODIFY_TAGS_THEN_HIDE, NULL },
+  { "modify-tags",               OP_MAIN_MODIFY_TAGS,             NULL },
+  { "modify-tags-then-hide",     OP_MAIN_MODIFY_TAGS_THEN_HIDE,   NULL },
+/* NOTE(sileht): kept for backward compatibility */
+  { "modify-labels",             OP_MAIN_MODIFY_TAGS,             NULL },
+  { "modify-labels-then-hide",   OP_MAIN_MODIFY_TAGS_THEN_HIDE,   NULL },
 
 #ifdef USE_NOTMUCH
   { "change-vfolder",            OP_MAIN_CHANGE_VFOLDER,          NULL },