less access to oriental pref

This commit is contained in:
SHIMODA Hiroshi 2010-11-19 14:07:19 +09:00
parent ae80131b61
commit 8d82e02491

View File

@ -2739,6 +2739,7 @@ TreeStyleTabBrowser.prototype = {
if (parent.getAttribute(this.kCHILDREN_RESTORING))
this.correctChildTabsOrderWithDelay(parent);
}
else {
this.deleteTabValue(tab, this.kPARENT);
@ -3809,8 +3810,7 @@ TreeStyleTabBrowser.prototype = {
{
this._treeViewEnabled = aValue ? true : false ;
if (this._treeViewEnabled) {
let orient = this.isVertical ? 'vertical' : 'horizontal' ;
if (this.getTreePref('allowSubtreeCollapseExpand.'+orient))
if (this.allowSubtreeCollapseExpand)
this.setTabbrowserAttribute(this.kALLOW_COLLAPSE, true);
this.updateTabsIndent(this.rootTabs, undefined, true);
}