That didn't work. I found out why and fixed it. (Heh. Don't put the
bindings on the group object. Those don't fire callbacks very often.)
This commit is contained in:
parent
cd9119008d
commit
fcab4c6e7b
1 changed files with 27 additions and 27 deletions
|
@ -3,38 +3,38 @@
|
||||||
<!-- Sound control dialog -->
|
<!-- Sound control dialog -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
/sim/sound/pause
|
/sim/sound/pause
|
||||||
/sim/sound/volume
|
/sim/sound/volume
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name>sound-dialog</name>
|
<name>sound-dialog</name>
|
||||||
<layout>vbox</layout>
|
<layout>vbox</layout>
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<label>Sound Configuration</label>
|
<label>Sound Configuration</label>
|
||||||
</text>
|
<padding>10</padding>
|
||||||
|
</text>
|
||||||
<checkbox>
|
|
||||||
<label>Mute Sound</label>
|
|
||||||
<property>/sim/sound/pause</property>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-apply</command>
|
|
||||||
</binding>
|
|
||||||
</checkbox>
|
|
||||||
|
|
||||||
<group>
|
|
||||||
<layout>hbox</layout>
|
|
||||||
<text><label>Volume:</label></text>
|
|
||||||
<slider>
|
|
||||||
<property>/sim/sound/volume</property>
|
|
||||||
</slider>
|
|
||||||
<!-- This doesn't work: need to find out why and fix it. -Andy -->
|
|
||||||
<binding>
|
|
||||||
<command>dialog-apply</command>
|
|
||||||
</binding>
|
|
||||||
</group>
|
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<label>Mute Sound</label>
|
||||||
|
<property>/sim/sound/pause</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<text><label>Volume:</label></text>
|
||||||
|
<slider>
|
||||||
|
<property>/sim/sound/volume</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
</slider>
|
||||||
|
</group>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<default-padding>10</default-padding>
|
<default-padding>10</default-padding>
|
||||||
|
|
Loading…
Add table
Reference in a new issue