From c4807b3f86eed470f109a7e1f1cae68428cdab8d Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 15 May 2014 20:38:30 +0200 Subject: [PATCH] Beep in the menu too --- naja/widgets/selector.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/naja/widgets/selector.py b/naja/widgets/selector.py index c5ba07f..656d71e 100644 --- a/naja/widgets/selector.py +++ b/naja/widgets/selector.py @@ -4,6 +4,7 @@ from naja.constants import KEYS from naja.widgets.base import Container from naja.resources import resources from naja.resources.mutators import EIGHT_BIT, R270 +from naja.sound import sound class SelectorWidget(Container): @@ -29,6 +30,7 @@ class SelectorWidget(Container): else: self.position -= 1 self.position %= len(self.widgets) + sound.play_sound('change_action.ogg') return True elif ev.key in KEYS.SELECT: return self.widgets[self.position].callback('click') -- 2.34.1