From 1eacd02cbc697f7a6f80461a8d94fbc1f310caa5 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Wed, 26 Jan 2011 01:01:19 +0900 Subject: [PATCH] add a new pain (experimental) --- content/treestyletab/config.js | 21 +- content/treestyletab/config.xul | 244 ++++++++++++--------- locale/en-US/treestyletab/treestyletab.dtd | 16 +- locale/ja/treestyletab/treestyletab.dtd | 13 ++ 4 files changed, 174 insertions(+), 120 deletions(-) diff --git a/content/treestyletab/config.js b/content/treestyletab/config.js index c6d9b4b8..fc4631d6 100644 --- a/content/treestyletab/config.js +++ b/content/treestyletab/config.js @@ -321,20 +321,10 @@ function onTabbarTransparencyScaleChange() } -var gUndoCloseTabSetRadioSet; - function initTreePane() { syncEnabledState('extensions.treestyletab.closeParentBehavior-radiogroup', 'this.value == 0'); - gUndoCloseTabSetRadioSet = new RadioSet( - 'extensions.treestyletab.undoCloseTabSet.behavior', - 'undoCloseTabSet-radiogroup', - 'undoCloseTabSet-check', - 'undoCloseTabSet-deck', - 1 - ); - var focusMode = document.getElementById('extensions.treestyletab.focusMode-check'); var focusModePref = document.getElementById('extensions.treestyletab.focusMode'); if (focusModePref.value != focusModePref.defaultValue) @@ -344,7 +334,8 @@ function initTreePane() } -var gBookmarkDroppedTabsRadioSet; +var gBookmarkDroppedTabsRadioSet, + gUndoCloseTabSetRadioSet; function initAdvancedPane() { @@ -354,6 +345,14 @@ function initAdvancedPane() 'bookmarkDroppedTabs-check', 'bookmarkDroppedTabs-deck' ); + + gUndoCloseTabSetRadioSet = new RadioSet( + 'extensions.treestyletab.undoCloseTabSet.behavior', + 'undoCloseTabSet-radiogroup', + 'undoCloseTabSet-check', + 'undoCloseTabSet-deck', + 1 + ); } diff --git a/content/treestyletab/config.xul b/content/treestyletab/config.xul index 48ecc176..72d45a62 100644 --- a/content/treestyletab/config.xul +++ b/content/treestyletab/config.xul @@ -334,6 +334,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -422,6 +454,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -602,112 +717,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -720,6 +729,9 @@ + + + + + + + + + + + + + + + + +