From 0245cfcef8863b01bed199e91592a49ce874819e Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Tue, 10 Jun 2008 19:44:41 +0000 Subject: [PATCH] [muttator] has "f" as default 'guioptions', should change to fmT? --- content/liberator.js | 2 +- content/muttator.js | 1 + content/vimperator.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/content/liberator.js b/content/liberator.js index 38cab7be..f241198c 100644 --- a/content/liberator.js +++ b/content/liberator.js @@ -38,7 +38,7 @@ const liberator = (function () //{{{ { liberator.options.add(["guioptions", "go"], "Show or hide certain GUI elements like the menu or toolbar", - "charlist", "", + "charlist", liberator.config.defaults.guioptions || "", { setter: function (value) { diff --git a/content/muttator.js b/content/muttator.js index 7242aaa6..f30af93a 100644 --- a/content/muttator.js +++ b/content/muttator.js @@ -33,6 +33,7 @@ liberator.config = { /*** optional options, there are checked for existance and a fallback provided ***/ features: ["hints", "mail", "marks", "addressbook", "tabs"], + defaults: { guioptions: "f" }, guioptions: { m: ["mail-toolbar-menubar2"], T: ["mail-bar2"], f: ["folderPaneBox", "folderpane_splitter"], F: ["folderPaneHeader"] }, get browserModes() { return [liberator.modes.MESSAGE]; }, diff --git a/content/vimperator.js b/content/vimperator.js index 8dbd8cd7..68f8d552 100644 --- a/content/vimperator.js +++ b/content/vimperator.js @@ -33,6 +33,7 @@ liberator.config = { //{{{ /*** optional options, there are checked for existance and a fallback provided ***/ features: ["bookmarks", "hints", "history", "marks", "quickmarks", "session", "tabs", "windows"], + defaults: { guioptions: "" }, guioptions: { m: ["toolbar-menubar"], T: ["nav-bar"], b: ["PersonalToolbar"] }, autocommands: [["PageLoad", "Triggered when a page gets (re)loaded/opened"],