From: Neil Date: Thu, 15 May 2014 20:09:04 +0000 (+0200) Subject: change volume in menu X-Git-Tag: 0.1~258 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=a0657c281733cdca517e046af77b0288677a88e4;p=naja.git change volume in menu --- diff --git a/naja/widgets/selector.py b/naja/widgets/selector.py index 656d71e..f4706ee 100644 --- a/naja/widgets/selector.py +++ b/naja/widgets/selector.py @@ -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')