確実に初期化するように

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4885 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-08-10 01:18:19 +00:00
parent a786cade9a
commit f47ffaccc0

View File

@ -472,6 +472,7 @@ TreeStyleTabBrowser.prototype = {
this.onPrefChange('extensions.treestyletab.tabbar.autoHide.area');
this.onPrefChange('extensions.treestyletab.tabbar.togglerSize');
window.setTimeout(function(aTabBrowser) {
aTabBrowser.treeStyleTab.updateTabbarState(); // just to be safe
aTabBrowser.treeStyleTab.onPrefChange('extensions.treestyletab.tabbar.autoHide.mode');
}, 0, b);