From d91a23f7b9b75fd50bb4463d809efed993d5af61 Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 8 Jul 2009 00:21:39 +0000 Subject: [PATCH] =?UTF-8?q?=E6=A8=AA=E7=BD=AE=E3=81=8D=E3=82=BF=E3=83=96?= =?UTF-8?q?=E3=83=90=E3=83=BC=E3=81=AE=E9=AB=98=E3=81=95=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=81=A8=E3=82=A4=E3=83=B3=E3=83=87=E3=83=B3?= =?UTF-8?q?=E3=83=88=E3=81=AE=E8=A8=AD=E5=AE=9A=E3=82=92=E5=90=8C=E6=9C=9F?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=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@4668 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 5 +++++ content/treestyletab/treestyletabbrowser.js | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 6442e481..d20aea90 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -466,6 +466,11 @@ var TreeStyleTabService = { var pref = isVertical ? 'tabbar.fixed.vertical' : 'tabbar.fixed.horizontal' ; this.setTreePref(pref, !this.getTreePref(pref)); + + if (!this.getTreePref('syncRelatedPrefs')) return; + + if (!isVertical) + this.setTreePref('enableSubtreeIndent.horizontal', !this.getTreePref(pref)); }, changeTabbarPosition : function(aNewPosition) /* PUBLIC API */ diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 4cebdbdb..03f59e2f 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -507,7 +507,6 @@ TreeStyleTabBrowser.prototype = { this.onPrefChange('extensions.treestyletab.tabbar.invertClosebox'); this.onPrefChange('extensions.treestyletab.tabbar.hideNewTabButton'); this.onPrefChange('extensions.treestyletab.tabbar.hideAlltabsButton'); - this.onPrefChange('extensions.treestyletab.allowSubtreeCollapseExpand'); this.onPrefChange('extensions.treestyletab.tabbar.transparent.style'); this.onPrefChange('extensions.treestyletab.tabbar.autoHide.area'); this.onPrefChange('extensions.treestyletab.tabbar.togglerSize');