git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6469 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-03-26 03:32:38 +00:00
parent 9e6ebc9768
commit 5ac0b8410e

View File

@ -87,7 +87,7 @@ TreeStyleTabBrowser.prototype = {
}, },
set tabStripPlaceHolder(value) set tabStripPlaceHolder(value)
{ {
return this._tabStripPlaceHolder = value; return (this._tabStripPlaceHolder = value);
}, },
/* utils */ /* utils */
@ -955,8 +955,7 @@ TreeStyleTabBrowser.prototype = {
/* in Firefox 3, the width of the rightside tab bar /* in Firefox 3, the width of the rightside tab bar
unexpectedly becomes 0 on the startup. so, we have unexpectedly becomes 0 on the startup. so, we have
to set the width again. */ to set the width again. */
var w = aSelf.getTreePref('tabbar.width'); aSelf.setTabStripAttribute('width', aSelf.getTreePref('tabbar.width'));
aSelf.setTabStripAttribute('width', w);
indicator.setAttribute('ordinal', 1); indicator.setAttribute('ordinal', 1);
aSelf.setTabStripAttribute('ordinal', 30); aSelf.setTabStripAttribute('ordinal', 30);
aSplitter.setAttribute('ordinal', 20); aSplitter.setAttribute('ordinal', 20);