From a1ce575cef653292f928f5e4a692ab392552237a Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 1 Apr 2009 17:02:36 +1100 Subject: [PATCH] Return the default 'stal' value for Vimperator and Xulmus to 0. --- common/content/tabs.js | 2 +- vimperator/content/config.js | 2 +- xulmus/content/config.js | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/common/content/tabs.js b/common/content/tabs.js index 04ed7a63..8772e8f4 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -116,7 +116,7 @@ function Tabs() //{{{ options.add(["showtabline", "stal"], "Control when to show the tab bar of opened web pages", - "number", config.optionDefaults['stal'], + "number", config.optionDefaults["showtabline"], { setter: function (value) { diff --git a/vimperator/content/config.js b/vimperator/content/config.js index 4ca540e8..ea4f5df7 100644 --- a/vimperator/content/config.js +++ b/vimperator/content/config.js @@ -123,7 +123,7 @@ const config = { //{{{ ], optionDefaults: { - stal: 0, + showtabline: 2, }, scripts: [ diff --git a/xulmus/content/config.js b/xulmus/content/config.js index 1d61dd61..0a797f62 100644 --- a/xulmus/content/config.js +++ b/xulmus/content/config.js @@ -160,7 +160,7 @@ const config = { //{{{ ], optionDefaults: { - stal: 0, + showtabline: 2, }, scripts: [ @@ -486,9 +486,6 @@ const config = { //{{{ ////////////////////// OPTIONS ///////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ - let stal = options.get("showtabline"); - stal.value = stal.defaultValue = 2; - options.add(["online"], "Set the 'work offline' option", "boolean", true,