change volume in menu
authorNeil <neil@dip.sun.ac.za>
Thu, 15 May 2014 20:09:04 +0000 (22:09 +0200)
committerNeil <neil@dip.sun.ac.za>
Thu, 15 May 2014 20:11:49 +0000 (22:11 +0200)
naja/widgets/selector.py

index 656d71ea45c35e715caa112fceda469fd8068c3f..f4706ee096c5833f4c362f8c090bf0393fd35da9 100644 (file)
@@ -30,7 +30,7 @@ class SelectorWidget(Container):
                 else:
                     self.position -= 1
                 self.position %= len(self.widgets)
-                sound.play_sound('change_action.ogg')
+                sound.play_sound('change_action.ogg', volume=0.05)
                 return True
             elif ev.key in KEYS.SELECT:
                 return self.widgets[self.position].callback('click')