update pref UI around tooltip

This commit is contained in:
Piro / SHIMODA Hiroshi 2011-11-30 02:25:49 +09:00
parent 18c25bcfdb
commit 7869302232

View File

@ -750,9 +750,9 @@
<preference id="extensions.treestyletab.animation.enabled" <preference id="extensions.treestyletab.animation.enabled"
name="extensions.treestyletab.animation.enabled" name="extensions.treestyletab.animation.enabled"
type="bool"/> type="bool"/>
<preference id="extensions.treestyletab.tooltip.includeChildren" <preference id="extensions.treestyletab.tooltip.mode"
name="extensions.treestyletab.tooltip.includeChildren" name="extensions.treestyletab.tooltip.mode"
type="bool"/> type="int"/>
<preference id="extensions.treestyletab.bookmarkDroppedTabs.behavior" <preference id="extensions.treestyletab.bookmarkDroppedTabs.behavior"
name="extensions.treestyletab.bookmarkDroppedTabs.behavior" name="extensions.treestyletab.bookmarkDroppedTabs.behavior"
type="int"/> type="int"/>
@ -764,9 +764,11 @@
<checkbox id="extensions.treestyletab.animation.enabled-check" <checkbox id="extensions.treestyletab.animation.enabled-check"
preference="extensions.treestyletab.animation.enabled" preference="extensions.treestyletab.animation.enabled"
label="&config.animation.enabled;"/> label="&config.animation.enabled;"/>
<checkbox id="extensions.treestyletab.tooltip.includeChildren-check" <checkbox id="extensions.treestyletab.tooltip.mode-check"
preference="extensions.treestyletab.tooltip.includeChildren" preference="extensions.treestyletab.tooltip.mode"
label="&config.tooltip.includeChildren;"/> label="&config.tooltip.includeChildren;"
onsynctopreference="return document.getElementById('extensions.treestyletab.tooltip.mode-check').checked ? 2 : 0 ;"
onsyncfrompreference="return document.getElementById('extensions.treestyletab.tooltip.mode').value == 2;"/>
<groupbox> <groupbox>
<caption label="&config.bookmarkDroppedTabs.caption;"/> <caption label="&config.bookmarkDroppedTabs.caption;"/>