Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/activity.py b/activity.py
index 3aae9ea..2115781 100644
--- a/activity.py
+++ b/activity.py
@@ -89,7 +89,6 @@ class PhysicsActivity(olpcgames.PyGameActivity):
toolbar_box.show()
return toolbar_box
-
except NameError:
#Use old <= 0.84 toolbar design
# make a toolbox
@@ -132,9 +131,9 @@ class PhysicsActivity(olpcgames.PyGameActivity):
button.show()
self.radioList[button] = c.name
- # add the toolbars to the toolbox
- toolbox.add_toolbar(_("Create"),create_toolbar)
- create_toolbar.show()
+ # add the toolbars to the toolbox
+ toolbox.add_toolbar(_("Create"),create_toolbar)
+ create_toolbar.show()
toolbox.show()
self.set_toolbox(toolbox)