Ctrl-Tabで折りたたまれたタブにフォーカスするオプションをデフォルトでは隠すようにして、「詳細」のタブの数を減らした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5014 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
f3026cad08
commit
5287ab43b0
@ -234,6 +234,18 @@ function onTabbarTransparencyScaleChange()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function initAdvancedPane()
|
||||||
|
{
|
||||||
|
updateCloseRootBehaviorCheck();
|
||||||
|
|
||||||
|
var focusMode = document.getElementById('extensions.treestyletab.focusMode-check');
|
||||||
|
var focusModePref = document.getElementById('extensions.treestyletab.focusMode');
|
||||||
|
if (focusModePref.value != focusModePref.defaultValue)
|
||||||
|
focusMode.removeAttribute('collapsed');
|
||||||
|
else
|
||||||
|
focusMode.setAttribute('collapsed', true);
|
||||||
|
}
|
||||||
|
|
||||||
function updateCloseRootBehaviorCheck()
|
function updateCloseRootBehaviorCheck()
|
||||||
{
|
{
|
||||||
var closeParentBehavior = document.getElementById('extensions.treestyletab.closeParentBehavior-radiogroup').value;
|
var closeParentBehavior = document.getElementById('extensions.treestyletab.closeParentBehavior-radiogroup').value;
|
||||||
|
@ -614,7 +614,7 @@
|
|||||||
</prefpane>
|
</prefpane>
|
||||||
|
|
||||||
<prefpane id="prefpane-advanced" label="&config.tabs.advanced;"
|
<prefpane id="prefpane-advanced" label="&config.tabs.advanced;"
|
||||||
onpaneload="updateCloseRootBehaviorCheck();">
|
onpaneload="initAdvancedPane();">
|
||||||
<preferences>
|
<preferences>
|
||||||
<preference id="extensions.treestyletab.autoCollapseExpandSubTreeOnSelect"
|
<preference id="extensions.treestyletab.autoCollapseExpandSubTreeOnSelect"
|
||||||
name="extensions.treestyletab.autoCollapseExpandSubTreeOnSelect"
|
name="extensions.treestyletab.autoCollapseExpandSubTreeOnSelect"
|
||||||
@ -654,7 +654,6 @@
|
|||||||
|
|
||||||
<tabbox orient="vertical">
|
<tabbox orient="vertical">
|
||||||
<tabs orient="horizontal">
|
<tabs orient="horizontal">
|
||||||
<tab label="&config.tabs.advanced.focus;"/>
|
|
||||||
<tab label="&config.tabs.advanced.tree;"/>
|
<tab label="&config.tabs.advanced.tree;"/>
|
||||||
<tab label="&config.tabs.advanced.misc;"/>
|
<tab label="&config.tabs.advanced.misc;"/>
|
||||||
</tabs>
|
</tabs>
|
||||||
@ -675,9 +674,6 @@
|
|||||||
label="&config.focusMode;"
|
label="&config.focusMode;"
|
||||||
onsyncfrompreference="return document.getElementById('extensions.treestyletab.focusMode').value == 0;"
|
onsyncfrompreference="return document.getElementById('extensions.treestyletab.focusMode').value == 0;"
|
||||||
onsynctopreference="return document.getElementById('extensions.treestyletab.focusMode-check').checked ? 0 : 1 ;"/>
|
onsynctopreference="return document.getElementById('extensions.treestyletab.focusMode-check').checked ? 0 : 1 ;"/>
|
||||||
</tabpanel>
|
|
||||||
|
|
||||||
<tabpanel orient="vertical">
|
|
||||||
<checkbox id="extensions.treestyletab.collapseExpandSubTree.dblclick-check"
|
<checkbox id="extensions.treestyletab.collapseExpandSubTree.dblclick-check"
|
||||||
preference="extensions.treestyletab.collapseExpandSubTree.dblclick"
|
preference="extensions.treestyletab.collapseExpandSubTree.dblclick"
|
||||||
label="&config.collapseExpandSubTree.dblclick;"/>
|
label="&config.collapseExpandSubTree.dblclick;"/>
|
||||||
@ -711,7 +707,7 @@
|
|||||||
<caption label="&config.insertNewChildAt.caption;"/>
|
<caption label="&config.insertNewChildAt.caption;"/>
|
||||||
<radiogroup id="extensions.treestyletab.insertNewChildAt-radiogroup"
|
<radiogroup id="extensions.treestyletab.insertNewChildAt-radiogroup"
|
||||||
preference="extensions.treestyletab.insertNewChildAt"
|
preference="extensions.treestyletab.insertNewChildAt"
|
||||||
orient="vertical">
|
orient="horizontal">
|
||||||
<radio value="0" label="&config.insertNewChildAt.first;"/>
|
<radio value="0" label="&config.insertNewChildAt.first;"/>
|
||||||
<radio value="1" label="&config.insertNewChildAt.last;"/>
|
<radio value="1" label="&config.insertNewChildAt.last;"/>
|
||||||
</radiogroup>
|
</radiogroup>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user