mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 14:14:13 +01:00
Add support to change the archive folder name in muttator
This commit is contained in:
@@ -202,6 +202,10 @@ function Mail() //{{{
|
|||||||
// "Set the external text editor",
|
// "Set the external text editor",
|
||||||
// "string", "gvim -f");
|
// "string", "gvim -f");
|
||||||
|
|
||||||
|
options.add(["archivefolder"],
|
||||||
|
"Set the archive folder",
|
||||||
|
"string", "Archive");
|
||||||
|
|
||||||
options.add(["layout"],
|
options.add(["layout"],
|
||||||
"Set the layout of the mail window",
|
"Set the layout of the mail window",
|
||||||
"string", "inherit",
|
"string", "inherit",
|
||||||
@@ -430,7 +434,7 @@ function Mail() //{{{
|
|||||||
|
|
||||||
mappings.add(myModes, ["<C-s>"],
|
mappings.add(myModes, ["<C-s>"],
|
||||||
"Archive message",
|
"Archive message",
|
||||||
function () { moveOrCopy(false, "Archive"); });
|
function () { moveOrCopy(false, options["archivefolder"]); });
|
||||||
|
|
||||||
mappings.add(myModes, ["]s"],
|
mappings.add(myModes, ["]s"],
|
||||||
"Select next starred message",
|
"Select next starred message",
|
||||||
|
|||||||
Reference in New Issue
Block a user