From a2f74e4e57ea5e88d94dd5d12672fb15b7b21010 Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 21 Apr 2009 06:45:00 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=95=E3=83=AB=E3=82=B9=E3=82=AF=E3=83=AA?= =?UTF-8?q?=E3=83=BC=E3=83=B3=E3=83=A2=E3=83=BC=E3=83=89=E3=81=AE=E6=99=82?= =?UTF-8?q?=E3=81=AF=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=AE=E5=B9=85?= =?UTF-8?q?=E3=81=A0=E3=81=91=E5=A4=89=E3=81=88=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4169 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index af1c77c1..e1733377 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -382,7 +382,9 @@ var TreeStyleTabService = { var treeStyleTab = gBrowser.treeStyleTab; var tabbarWidth = treeStyleTab.splitterWidth + (treeStyleTab.isVertical ? gBrowser.mStrip.boxObject.width : 0 ); var contentWidth = gBrowser.boxObject.width - tabbarWidth; - if (aKeepWindowSize) { + if (aKeepWindowSize || + window.fullScreen || + window.windowState != Components.interfaces.nsIDOMChromeWindow.STATE_NORMAL) { this.setTabbarWidth(Math.max(10, gBrowser.boxObject.width - aWidth)); } else if (tabbarWidth + aWidth <= screen.availWidth) {