Allow "tabs in titlebar" feature if Classic Theme Restorer is installed (#674)
https://addons.mozilla.org/firefox/addon/classicthemerestorer/
This commit is contained in:
parent
f2298baa89
commit
84640a12ca
@ -645,6 +645,7 @@ pref("extensions.treestyletab.pinnedTab.faviconized", true);
|
|||||||
pref("extensions.treestyletab.compatibility.AgingTabs", true);
|
pref("extensions.treestyletab.compatibility.AgingTabs", true);
|
||||||
pref("extensions.treestyletab.compatibility.AIOS", true); // All-in-One Sidebar
|
pref("extensions.treestyletab.compatibility.AIOS", true); // All-in-One Sidebar
|
||||||
pref("extensions.treestyletab.compatibility.Autohide", true);
|
pref("extensions.treestyletab.compatibility.Autohide", true);
|
||||||
|
pref("extensions.treestyletab.compatibility.ClassicThemeRestorer", true);
|
||||||
pref("extensions.treestyletab.compatibility.ColorfulTabs", true);
|
pref("extensions.treestyletab.compatibility.ColorfulTabs", true);
|
||||||
pref("extensions.treestyletab.compatibility.ContextSearch", true);
|
pref("extensions.treestyletab.compatibility.ContextSearch", true);
|
||||||
pref("extensions.treestyletab.compatibility.DomainTab", true);
|
pref("extensions.treestyletab.compatibility.DomainTab", true);
|
||||||
|
@ -1106,7 +1106,10 @@ TreeStyleTabWindow.prototype = {
|
|||||||
}
|
}
|
||||||
if (TabsInTitlebar) {
|
if (TabsInTitlebar) {
|
||||||
let allowed = isTopTabbar && this.browser.treeStyleTab.fixed;
|
let allowed = isTopTabbar && this.browser.treeStyleTab.fixed;
|
||||||
if ('navbarontop' in this.window && utils.getTreePref('compatibility.NavbarOnTitlebar'))
|
if (
|
||||||
|
('navbarontop' in this.window && utils.getTreePref('compatibility.NavbarOnTitlebar')) ||
|
||||||
|
('classicthemerestorerjs' in this.window && utils.getTreePref('compatibility.ClassicThemeRestorer'))
|
||||||
|
)
|
||||||
allowed = true;
|
allowed = true;
|
||||||
TabsInTitlebar.allowedBy('TreeStyleTab-tabsOnTop', allowed);
|
TabsInTitlebar.allowedBy('TreeStyleTab-tabsOnTop', allowed);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user