1
0
Fork 0

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:
andy 2004-05-14 21:57:33 +00:00
parent cd9119008d
commit fcab4c6e7b

View file

@ -3,38 +3,38 @@
<!-- Sound control dialog -->
<!--
/sim/sound/pause
/sim/sound/volume
/sim/sound/pause
/sim/sound/volume
-->
<PropertyList>
<name>sound-dialog</name>
<layout>vbox</layout>
<name>sound-dialog</name>
<layout>vbox</layout>
<text>
<label>Sound Configuration</label>
</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>
<text>
<label>Sound Configuration</label>
<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>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
</group>
<group>
<layout>hbox</layout>
<default-padding>10</default-padding>