Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2010-06-27 13:34:46 (GMT)
committer Gary Martin <gary@garycmartin.com>2010-06-27 13:34:46 (GMT)
commit161c656e0c314b947cbfa82e3b9c1ec273bc58f3 (patch)
tree8e0c527f39c95a9b6efe3330bf579ceb69f7175d
parent8dcc7fe6297f9bfdd9598b781ef6ea91283578d4 (diff)
Add space after commas cleanup.
-rw-r--r--activity.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/activity.py b/activity.py
index 2115781..bcd8f1e 100644
--- a/activity.py
+++ b/activity.py
@@ -126,13 +126,13 @@ class PhysicsActivity(olpcgames.PyGameActivity):
firstButton = button
button.set_tooltip(c.toolTip)
button.set_accelerator(c.toolAccelerator)
- button.connect('clicked',self.radioClicked)
- create_toolbar.insert(button,-1)
+ button.connect('clicked', self.radioClicked)
+ create_toolbar.insert(button, -1)
button.show()
self.radioList[button] = c.name
# add the toolbars to the toolbox
- toolbox.add_toolbar(_("Create"),create_toolbar)
+ toolbox.add_toolbar(_("Create"), create_toolbar)
create_toolbar.show()
toolbox.show()
@@ -169,8 +169,8 @@ class PhysicsActivity(olpcgames.PyGameActivity):
firstButton = button
button.set_tooltip(c.toolTip)
button.set_accelerator(c.toolAccelerator)
- button.connect('clicked',self.radioClicked)
- create_toolbar.insert(button,-1)
+ button.connect('clicked', self.radioClicked)
+ create_toolbar.insert(button, -1)
button.show()
self.radioList[button] = c.name
return create_toolbar
@@ -187,7 +187,7 @@ class PhysicsActivity(olpcgames.PyGameActivity):
self.stop_play.set_icon('media-playback-start')
self.stop_play.set_tooltip(_("Start"))
- def radioClicked(self,button):
+ def radioClicked(self, button):
pygame.event.post(olpcgames.eventwrap.Event(pygame.USEREVENT, action=self.radioList[button]))