Better compatibility with Nav Bar on Title Bar addon #620

https://addons.mozilla.org/firefox/addon/nav-bar-on-title-bar/
This commit is contained in:
Piro / YUKI Hiroshi 2013-12-06 18:10:54 +09:00
parent 6e039a7a99
commit 9494634235
4 changed files with 5 additions and 0 deletions

View File

@ -662,6 +662,7 @@ pref("extensions.treestyletab.compatibility.Locationbar2", true);
pref("extensions.treestyletab.compatibility.MouseGesturesRedox", true);
pref("extensions.treestyletab.compatibility.MouselessBrowsing", true);
pref("extensions.treestyletab.compatibility.MultiLinks", true);
pref("extensions.treestyletab.compatibility.NavbarOnTitlebar", true);
pref("extensions.treestyletab.compatibility.OptimozTweaks", true);
pref("extensions.treestyletab.compatibility.PermaTabs", true);
pref("extensions.treestyletab.compatibility.PersonalTitlebar", true);

View File

@ -1,6 +1,7 @@
# History
- master/HEAD
* Improved: Better compatibility with [Nav Bar on Title Bar](https://addons.mozilla.org/firefox/addon/nav-bar-on-title-bar/).
- 0.14.2013112901
* Improved: Better compatibility with someone who change visibility of the tab bar, like "auto hide tab bar for last single tab" feature of Tab Mix Plus, Pale Moon, and [Hide Tab Bar With One Tab](https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/).
* Improved: Better compatibility with [Context Search](http://www.cusser.net/extensions/contextsearch/). Now search result tabs are opened as children of the current tab.

View File

@ -1,6 +1,7 @@
# 更新履歴
- master/HEAD
* [Nav Bar on Title Bar](https://addons.mozilla.org/firefox/addon/nav-bar-on-title-bar/)との互換性を改善
- 0.14.2013112901
* 「タブが1つだけの時にタブバーを隠す」機能を提供するアドオンTab Mix Plus、[Hide Tab Bar With One Tab](https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/)などや環境Pale Moonなどとの互換性を向上
* [Context Search](http://www.cusser.net/extensions/contextsearch/)との互換性を向上(検索結果を子タブとして開くようにした)

View File

@ -1060,6 +1060,8 @@ TreeStyleTabWindow.prototype = {
}
if (TabsInTitlebar) {
let allowed = isTopTabbar && this.browser.treeStyleTab.fixed;
if ('navbarontop' in this.window && utils.getTreePref('compatibility.NavbarOnTitlebar'))
allowed = true;
TabsInTitlebar.allowedBy('TreeStyleTab-tabsOnTop', allowed);
}
}