From 8dcc7fe6297f9bfdd9598b781ef6ea91283578d4 Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Sun, 27 Jun 2010 03:25:30 +0000 Subject: Fixed intent bug causing multiple Create tabs in old style toolbars. --- (limited to 'activity.py') 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) -- cgit v0.9.1