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 -->
|
||||
|
||||
<!--
|
||||
/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>
|
||||
|
|
Loading…
Add table
Reference in a new issue