From d68e52d277cc915c4337777f967d53fb1827587b Mon Sep 17 00:00:00 2001 From: piro Date: Sun, 2 May 2010 04:32:08 +0000 Subject: [PATCH] =?UTF-8?q?browser.tabs.insertRelatedAfterCurrent=E3=82=92?= =?UTF-8?q?false=E3=81=AB=E5=9B=BA=E5=AE=9A?= 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@6653 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- modules/utils.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/utils.js b/modules/utils.js index c16178e8..57acb53c 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -1739,17 +1739,21 @@ var TreeStyleTabUtils = { this.updateTabWidthPrefs(aPrefName); break; + case 'browser.tabs.insertRelatedAfterCurrent': + value = false; // 常にfalseで固定 case 'browser.link.open_newwindow.restriction': case 'browser.tabs.loadFolderAndReplace': - case 'browser.tabs.insertRelatedAfterCurrent': case 'extensions.stm.tabBarMultiRows': // Super Tab Mode if (this.prefOverriding) return; aPrefName += '.override'; this.setPref(aPrefName, value); + case 'browser.tabs.insertRelatedAfterCurrent.override': case 'browser.link.open_newwindow.restriction.override': case 'browser.tabs.loadFolderAndReplace.override': - case 'browser.tabs.insertRelatedAfterCurrent.override': case 'extensions.stm.tabBarMultiRows.override': // Super Tab Mode + if (aPrefName == 'browser.tabs.insertRelatedAfterCurrent.override') { + value = false; // 常にfalseで固定 + } this.prefOverriding = true; var target = aPrefName.replace('.override', ''); var originalValue = this.getPref(target);