Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe')
-rw-r--r--src/jarabe/view/keyhandler.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jarabe/view/keyhandler.py b/src/jarabe/view/keyhandler.py
index 3039516..08856c0 100644
--- a/src/jarabe/view/keyhandler.py
+++ b/src/jarabe/view/keyhandler.py
@@ -202,7 +202,10 @@ class KeyHandler(object):
self._change_brightness(step=-_BRIGHTNESS_STEP)
def handle_volume_mute(self):
- self._change_volume(value=0)
+ if sound.get_muted() is True:
+ sound.set_muted(False)
+ else:
+ sound.set_muted(True)
def handle_volume_up(self):
self._change_volume(step=_VOLUME_STEP)