With All-in-One Sidebar the tab bar was wrongly left on the content area after the sidebar was hidden automatically (fix for http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2902 )
This commit is contained in:
parent
dc5eda4278
commit
e8ad95487a
@ -376,7 +376,7 @@ var TreeStyleTabWindowHelper = {
|
||||
eval('window.toggleSidebar = '+
|
||||
window.toggleSidebar.toSource().replace(
|
||||
'{',
|
||||
'{ gBrowser.treeStyleTab.updateFloatingTabbar(gBrowser.treeStyleTab.kTABBAR_UPDATE_BY_WINDOW_RESIZE);'
|
||||
'{ gBrowser.treeStyleTab.updateFloatingTabbar(gBrowser.treeStyleTab.kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR);'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -563,6 +563,7 @@ pref("extensions.treestyletab.createSubtree.underParent", true);
|
||||
* obsolete.
|
||||
*/
|
||||
pref("extensions.treestyletab.compatibility.AgingTabs", true);
|
||||
pref("extensions.treestyletab.compatibility.AIOS", true); // All-in-One Sidebar
|
||||
pref("extensions.treestyletab.compatibility.Autohide", true);
|
||||
pref("extensions.treestyletab.compatibility.ColorfulTabs", true);
|
||||
pref("extensions.treestyletab.compatibility.DomainTab", true);
|
||||
|
@ -232,9 +232,10 @@ var TreeStyleTabUtils = {
|
||||
kTABBAR_UPDATE_BY_PRIVATE_BROWSING : (1 << 8),
|
||||
kTABBAR_UPDATE_BY_AUTOHIDE : (1 << 9),
|
||||
kTABBAR_UPDATE_BY_INITIALIZE : (1 << 10),
|
||||
kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR : (1 << 11),
|
||||
kTABBAR_UPDATE_NOW : (1 << 5) | (1 << 6) | (1 << 9) | (1 << 10),
|
||||
kTABBAR_UPDATE_SYNC_TO_TABBAR : (1 << 0) | (1 << 1) | (1 << 2) | (1 << 5) | (1 << 8) | (1 << 9),
|
||||
kTABBAR_UPDATE_SYNC_TO_PLACEHOLDER : (1 << 3) | (1 << 4) | (1 << 6) | (1 << 7) | (1 << 10),
|
||||
kTABBAR_UPDATE_SYNC_TO_PLACEHOLDER : (1 << 3) | (1 << 4) | (1 << 6) | (1 << 7) | (1 << 10) | (1 << 11),
|
||||
|
||||
kCLOSE_PARENT_BEHAVIOR_PROMOTE_FIRST_CHILD : 3,
|
||||
kCLOSE_PARENT_BEHAVIOR_PROMOTE_ALL_CHILDREN : 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user