summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorDavid Champion <dgc@bikeshed.us>2017-01-28 18:47:15 -0800
committerDavid Champion <dgc@bikeshed.us>2017-01-28 18:47:15 -0800
commit8583edba96dc050315dba9bfa9dcad17996f2d9a (patch)
tree3fbd638ee46d8a23166615fe7728eaa6768e6d4f /commands.c
parent7989acf60ca1e6430571c63d11fa19d4d31372fc (diff)
Adds capability to edit x-labels inside mutt, and to sort by label.
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/commands.c b/commands.c
index 2202a673..e734bbfe 100644
--- a/commands.c
+++ b/commands.c
@@ -533,9 +533,9 @@ int mutt_select_sort (int reverse)
int method = Sort; /* save the current method in case of abort */
switch (mutt_multi_choice (reverse ?
- _("Rev-Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore/s(p)am?: ") :
- _("Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore/s(p)am?: "),
- _("dfrsotuzcp")))
+ _("Rev-Sort Date/Frm/Recv/Subj/tO/Thread/Unsort/siZe/sCore/sPam/Label?: ") :
+ _("Sort Date/Frm/Recv/Subj/tO/Thread/Unsort/siZe/sCore/sPam/Label?: "),
+ _("dfrsotuzcpl")))
{
case -1: /* abort - don't resort */
return -1;
@@ -579,6 +579,10 @@ int mutt_select_sort (int reverse)
case 10: /* s(p)am */
Sort = SORT_SPAM;
break;
+
+ case 11: /* (l)abel */
+ Sort = SORT_LABEL;
+ break;
}
if (reverse)
Sort |= SORT_REVERSE;