]> granicus.if.org Git - neomutt/commitdiff
Rename <show-messages> to <show-log-messages>
authorReis Radomil <reisradomil@fake-box.com>
Sun, 1 Apr 2018 13:31:16 +0000 (13:31 +0000)
committerRichard Russon <rich@flatcap.org>
Sat, 7 Apr 2018 15:32:39 +0000 (16:32 +0100)
Rename the function <show-messages> to <show-log-messages> as well as
its symbolic constant OP_SHOW_MESSAGES to OP_SHOW_LOG_MESSAGES.

Background is that 'messages' (in the context of neomutt) refers usually
to emails instead of log messages.

curs_main.c
functions.h
opcodes.h

index c8e5711641d98fc7dd3619a63d073a3880b22772..4f1af9d09ba5c0c014d2f9d2d32af67256bd16c1 100644 (file)
@@ -1408,7 +1408,7 @@ int mutt_index_menu(void)
         break;
 #endif /* USE_POP */
 
-      case OP_SHOW_MESSAGES:
+      case OP_SHOW_LOG_MESSAGES:
       {
         char tempfile[PATH_MAX];
         mutt_mktemp(tempfile, sizeof(tempfile));
index dccf235cbbab68eeb70de4f59a2f69642725f155..2a91c4ba73e63e0bc0d9ca5f9a65528e0f23d713 100644 (file)
@@ -202,7 +202,7 @@ const struct Binding OpMain[] = { /* map: index */
   { "save-message",              OP_SAVE,                           "s" },
   { "set-flag",                  OP_MAIN_SET_FLAG,                  "w" },
   { "show-limit",                OP_MAIN_SHOW_LIMIT,                "\033l" },
-  { "show-messages",             OP_SHOW_MESSAGES,                  "M" },
+  { "show-log-messages",         OP_SHOW_LOG_MESSAGES,              "M" },
   { "show-version",              OP_VERSION,                        "V" },
 #ifdef USE_SIDEBAR
   { "sidebar-next",              OP_SIDEBAR_NEXT,                   NULL },
index 8ab1c519dfb428d8989fca1d69f40148ea6cd11c..3240a0ca93c2b647fcd4dbfe26e8cbf0b306e12f 100644 (file)
--- a/opcodes.h
+++ b/opcodes.h
   _fmt(OP_SEARCH_REVERSE,                 N_("search backwards for a regular expression")) \
   _fmt(OP_SEARCH_TOGGLE,                  N_("toggle search pattern coloring")) \
   _fmt(OP_SHELL_ESCAPE,                   N_("invoke a command in a subshell")) \
-  _fmt(OP_SHOW_MESSAGES,                  N_("show log (and debug) messages")) \
+  _fmt(OP_SHOW_LOG_MESSAGES,              N_("show log (and debug) messages")) \
   _fmt(OP_SORT,                           N_("sort messages")) \
   _fmt(OP_SORT_REVERSE,                   N_("sort messages in reverse order")) \
   _fmt(OP_SUBSCRIBE_PATTERN,              N_("subscribe to newsgroups matching a pattern")) \