From 8a7fcf21a4d9dbb29ba37a0b008715a467e80ce3 Mon Sep 17 00:00:00 2001 From: Daniel Bainton Date: Tue, 9 Dec 2008 15:14:56 +0200 Subject: [PATCH] Add support to change the archive folder name in muttator --- muttator/content/mail.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/muttator/content/mail.js b/muttator/content/mail.js index 31886166..aac88fb4 100644 --- a/muttator/content/mail.js +++ b/muttator/content/mail.js @@ -202,6 +202,10 @@ function Mail() //{{{ // "Set the external text editor", // "string", "gvim -f"); + options.add(["archivefolder"], + "Set the archive folder", + "string", "Archive"); + options.add(["layout"], "Set the layout of the mail window", "string", "inherit", @@ -430,7 +434,7 @@ function Mail() //{{{ mappings.add(myModes, [""], "Archive message", - function () { moveOrCopy(false, "Archive"); }); + function () { moveOrCopy(false, options["archivefolder"]); }); mappings.add(myModes, ["]s"], "Select next starred message",