diff --git a/content/treestyletab/config.js b/content/treestyletab/config.js index a573a8f5..ec0da058 100644 --- a/content/treestyletab/config.js +++ b/content/treestyletab/config.js @@ -149,14 +149,18 @@ function onChangeTabbarPosition(aOnChange) } -var gAutoHideModeRadio; -var gAutoHideModeToggle; - +var gAutoHideModeRadio, + gAutoHideModeToggle, + gTabbarTransparencyScale, + gTabbarTransparencyLabels; function initAutoHidePane() { gAutoHideModeRadio = document.getElementById('extensions.treestyletab.tabbar.autoHide.mode-radio'); gAutoHideModeToggle = document.getElementById('extensions.treestyletab.tabbar.autoHide.mode.toggle'); + gTabbarTransparencyScale = document.getElementById('tabbarTransparency-scale'); + gTabbarTransparencyLabels = document.getElementById('tabbarTransparency-labels'); updateAutoHideModeLabel(); + onTabbarTransparencyScaleChange(); } function onChangeAutoHideMode() @@ -184,6 +188,12 @@ function updateAutoHideModeLabel() }); } +function onTabbarTransparencyScaleChange() +{ + gTabbarTransparencyLabels.selectedIndex = gTabbarTransparencyScale.value; +} + + function updateCloseRootBehaviorCheck() { var closeParentBehavior = document.getElementById('extensions.treestyletab.closeParentBehavior-radiogroup').value; diff --git a/content/treestyletab/config.xul b/content/treestyletab/config.xul index b93e498a..df14db78 100644 --- a/content/treestyletab/config.xul +++ b/content/treestyletab/config.xul @@ -555,12 +555,19 @@ - - - - - + + + + + diff --git a/locale/en-US/treestyletab/treestyletab.dtd b/locale/en-US/treestyletab/treestyletab.dtd index 1739ac89..eafe92c4 100644 --- a/locale/en-US/treestyletab/treestyletab.dtd +++ b/locale/en-US/treestyletab/treestyletab.dtd @@ -99,7 +99,7 @@ - + diff --git a/locale/ja/treestyletab/treestyletab.dtd b/locale/ja/treestyletab/treestyletab.dtd index 3c1d3389..3c0983c8 100644 --- a/locale/ja/treestyletab/treestyletab.dtd +++ b/locale/ja/treestyletab/treestyletab.dtd @@ -99,7 +99,7 @@ - +