diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-03-16 18:12:33 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-03-16 18:12:33 (GMT) |
commit | 3ab7fb0943718949e9dfdf71ba2c8e0b0b47fe34 (patch) | |
tree | e8bf8cecc7f54cef8404cab386f5e442afb1909f | |
parent | 025a39897b6cf96a7dd3618400e1c0f74cb51877 (diff) |
Fix toogle playing with space key
If the focus was in the listview, the play was stoped and started again
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | jukeboxactivity.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jukeboxactivity.py b/jukeboxactivity.py index 4864a65..bfdc680 100644 --- a/jukeboxactivity.py +++ b/jukeboxactivity.py @@ -225,6 +225,7 @@ class JukeboxActivity(activity.Activity): logging.info("Keyname Press: %s, time: %s", keyname, event.time) if keyname == "space": self.play_toggled() + return True def check_if_next_prev(self): if self.currentplaying == 0: |