ツリーの自動的な構築を抑止する設定を追加

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1943 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-02-28 00:07:51 +00:00
parent 4563323f26
commit 5c17ad8dcc
2 changed files with 5 additions and 0 deletions

View File

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

View File

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