summaryrefslogtreecommitdiff
path: root/muttator
diff options
context:
space:
mode:
authorDaniel Bainton <dpb@driftaway.org>2008-12-09 15:14:56 +0200
committerDaniel Bainton <dpb@driftaway.org>2008-12-09 15:14:56 +0200
commit8a7fcf21a4d9dbb29ba37a0b008715a467e80ce3 (patch)
treeb3571c95268e9da35894584d513408b88097d9e6 /muttator
parentb9b794eaa31c68ee01b315ad3005120a76531759 (diff)
downloadpentadactyl-8a7fcf21a4d9dbb29ba37a0b008715a467e80ce3.tar.gz
Add support to change the archive folder name in muttator
Diffstat (limited to 'muttator')
-rw-r--r--muttator/content/mail.js6
1 files changed, 5 insertions, 1 deletions
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, ["<C-s>"],
"Archive message",
- function () { moveOrCopy(false, "Archive"); });
+ function () { moveOrCopy(false, options["archivefolder"]); });
mappings.add(myModes, ["]s"],
"Select next starred message",