From 22a635e8d93e0648c0361c1b4c6c1c8b3336ae59 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Mon, 5 May 2014 17:46:29 +0900 Subject: [PATCH] Allow "tabs in titlebar" if Tabs On Bottom addon is installed --- defaults/preferences/treestyletab.js | 1 + modules/window.js | 1 + 2 files changed, 2 insertions(+) diff --git a/defaults/preferences/treestyletab.js b/defaults/preferences/treestyletab.js index 5beac317..f0b929c6 100644 --- a/defaults/preferences/treestyletab.js +++ b/defaults/preferences/treestyletab.js @@ -686,6 +686,7 @@ pref("extensions.treestyletab.compatibility.STM", true); // Super Tab Mode pref("extensions.treestyletab.compatibility.SuperDragAndGo", true); pref("extensions.treestyletab.compatibility.Tabberwocky", true); pref("extensions.treestyletab.compatibility.TabControl", true); +pref("extensions.treestyletab.compatibility.TabsOnBottom", true); pref("extensions.treestyletab.compatibility.TabUtilities", true); pref("extensions.treestyletab.compatibility.TMP", true); // Tab Mix Plus pref("extensions.treestyletab.compatibility.TooManyTabs", true); diff --git a/modules/window.js b/modules/window.js index a85fffc5..2a5fb0ed 100644 --- a/modules/window.js +++ b/modules/window.js @@ -1107,6 +1107,7 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, { if (TabsInTitlebar) { let allowed = isTopTabbar && this.browser.treeStyleTab.fixed; if ( + (this.window.TabsOnBottom && utils.getTreePref('compatibility.TabsOnBottom')) || ('navbarontop' in this.window && utils.getTreePref('compatibility.NavbarOnTitlebar')) || ('classicthemerestorerjs' in this.window && utils.getTreePref('compatibility.ClassicThemeRestorer')) )