横置きタブバーの高さ固定設定とインデントの設定を同期するように

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4668 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-07-08 00:21:39 +00:00
parent a13cb85c5f
commit d91a23f7b9
2 changed files with 5 additions and 1 deletions

View File

@ -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 */

View File

@ -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');