横置きタブバーの高さ固定設定とインデントの設定を同期するように
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4668 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
a13cb85c5f
commit
d91a23f7b9
@ -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 */
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user