From fcab4c6e7bf7ad2caa5b07b9f4e65667bc17deed Mon Sep 17 00:00:00 2001
From: andy <andy>
Date: Fri, 14 May 2004 21:57:33 +0000
Subject: [PATCH] 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.)

---
 gui/dialogs/sound.xml | 54 +++++++++++++++++++++----------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/gui/dialogs/sound.xml b/gui/dialogs/sound.xml
index 0b9c6feeb..bfe2cbb6f 100644
--- a/gui/dialogs/sound.xml
+++ b/gui/dialogs/sound.xml
@@ -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>