diff options
author | David Champion <dgc@bikeshed.us> | 2017-01-28 18:47:15 -0800 |
---|---|---|
committer | David Champion <dgc@bikeshed.us> | 2017-01-28 18:47:15 -0800 |
commit | 8583edba96dc050315dba9bfa9dcad17996f2d9a (patch) | |
tree | 3fbd638ee46d8a23166615fe7728eaa6768e6d4f /commands.c | |
parent | 7989acf60ca1e6430571c63d11fa19d4d31372fc (diff) |
Adds capability to edit x-labels inside mutt, and to sort by label.
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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; |