From 582bdcf2adad73c447ff07b01d6ca462191ccc56 Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 24 Jul 2009 10:09:13 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E9=80=8F=E6=98=8E=E5=BA=A6=E3=81=AE=E8=A8=AD=E5=AE=9AUI?= =?UTF-8?q?=E3=82=92scale=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4806 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/config.js | 16 +++++++++++++--- content/treestyletab/config.xul | 19 +++++++++++++------ locale/en-US/treestyletab/treestyletab.dtd | 2 +- locale/ja/treestyletab/treestyletab.dtd | 2 +- 4 files changed, 28 insertions(+), 11 deletions(-) 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 @@ - +