browser.tabs.insertRelatedAfterCurrentをfalseに固定

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6653 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-05-02 04:32:08 +00:00
parent e96b469ff0
commit d68e52d277

View File

@ -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);