Don't activate "tabs in titlebar" for OS X #983

This commit is contained in:
YUKI Hiroshi 2015-11-09 17:27:35 +09:00
parent c57f604fb7
commit 081acb238b

View File

@ -424,6 +424,7 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
this.fullscreenObserver = new FullscreenObserver(this.window);
this.initUIShowHideObserver();
if (!this.isMac)
this.initMenubarShowHideObserver();
var appcontent = d.getElementById('appcontent');
@ -1165,7 +1166,7 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
let menubar = this.window.document.getElementById('toolbar-menubar');
let allowed = (
(isTopTabbar && this.browser.treeStyleTab.fixed) ||
menubar.getAttribute('autohide') !== 'true'
(!this.isMac && menubar.getAttribute('autohide') !== 'true')
);
if (
(this.window.TabsOnBottom && utils.getTreePref('compatibility.TabsOnBottom')) ||