diff options
author | Daniel Francis <francis@sugarlabs.org> | 2012-12-21 02:58:55 (GMT) |
---|---|---|
committer | Daniel Francis <francis@sugarlabs.org> | 2012-12-21 02:58:55 (GMT) |
commit | 1587e845fc046bb63c81a0babc155186bcaf2fe7 (patch) | |
tree | a1a20e4ea729db602a7001c44ccaf1dadc4486c3 /activity.py | |
parent | 4c7ec286ff2acbb80a479d9aea02868ed3a917da (diff) |
Bug fixes
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activity.py b/activity.py index e54bbd1..b61d732 100644 --- a/activity.py +++ b/activity.py @@ -159,7 +159,7 @@ class PhysicsActivity(activity.Activity): self.radioList[button] = c.name def stop_play_cb(self, button): - pygame.event.post(sugargame.eventwrap.Event(pygame.USEREVENT, + pygame.event.post(pygame.event.Event(pygame.USEREVENT, action="stop_start_toggle")) self.stop_play_state = not self.stop_play_state # Update button @@ -171,8 +171,8 @@ class PhysicsActivity(activity.Activity): self.stop_play.set_tooltip(_("Start")) def radioClicked(self, button): - pygame.event.post(sugargame.eventwrap.Event(pygame.USEREVENT, - action=self.radioList[button])) + pygame.event.post(pygame.event.Event(pygame.USEREVENT, + action=self.radioList[button])) def _focus_event(self, event, data=None): """Send focus events to pygame to allow it to idle when in background. |