ツリーの自動的な構築を抑止する設定を追加
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1943 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
4563323f26
commit
5c17ad8dcc
@ -140,6 +140,8 @@ var TreeStyleTabService = {
|
||||
|
||||
readyToOpenChildTab : function(aFrameOrTabBrowser, aMultiple, aInsertBefore)
|
||||
{
|
||||
if (!this.getTreePref('autoAttachNewTabsAsChildren')) return;
|
||||
|
||||
var frame = this.getFrameFromTabBrowserElements(aFrameOrTabBrowser);
|
||||
if (!frame) return;
|
||||
|
||||
@ -153,6 +155,8 @@ var TreeStyleTabService = {
|
||||
|
||||
readyToOpenNewTabGroup : function(aFrameOrTabBrowser)
|
||||
{
|
||||
if (!this.getTreePref('autoAttachNewTabsAsChildren')) return;
|
||||
|
||||
var frame = this.getFrameFromTabBrowserElements(aFrameOrTabBrowser);
|
||||
if (!frame) return;
|
||||
|
||||
|
@ -48,6 +48,7 @@ pref("extensions.treestyletab.autoCollapseExpandSubTreeOnSelect", true);
|
||||
pref("extensions.treestyletab.collapseExpandSubTree.dblclick", false);
|
||||
pref("extensions.treestyletab.autoExpandSubTreeOnAppendChild", true);
|
||||
pref("extensions.treestyletab.attachChildrenToGrandParentOnRemoveTab", true);
|
||||
pref("extensions.treestyletab.autoAttachNewTabsAsChildren", true);
|
||||
// 0 = default, 1 = only visible tabs
|
||||
pref("extensions.treestyletab.focusMode", 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user