Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2010-06-27 13:54:48 (GMT)
committer Gary Martin <gary@garycmartin.com>2010-06-27 13:54:48 (GMT)
commitea49d1f52ac432f4f79bb3ce4df0f4000367d140 (patch)
treea07d64ea4338d0571a3181f30663ea108a202e1e /activity.py
parent161c656e0c314b947cbfa82e3b9c1ec273bc58f3 (diff)
Fix more indent issues.
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py50
1 files changed, 25 insertions, 25 deletions
diff --git a/activity.py b/activity.py
index bcd8f1e..6ed796f 100644
--- a/activity.py
+++ b/activity.py
@@ -60,34 +60,34 @@ class PhysicsActivity(olpcgames.PyGameActivity):
# setup the toolbar
def build_toolbar(self):
try:
- #Use new >= 0.86 toolbar
- self.max_participants = 1
- toolbar_box = ToolbarBox()
- activity_button = ActivityToolbarButton(self)
- toolbar_box.toolbar.insert(activity_button, 0)
- activity_button.show()
-
- create_toolbar = self._create_create_toolbar()
- create_toolbar_button = ToolbarButton(
- page=create_toolbar,
- icon_name='toolbar-create')
- create_toolbar.show()
- toolbar_box.toolbar.insert(create_toolbar_button, -1)
- create_toolbar_button.show()
+ #Use new >= 0.86 toolbar
+ self.max_participants = 1
+ toolbar_box = ToolbarBox()
+ activity_button = ActivityToolbarButton(self)
+ toolbar_box.toolbar.insert(activity_button, 0)
+ activity_button.show()
+
+ create_toolbar = self._create_create_toolbar()
+ create_toolbar_button = ToolbarButton(
+ page=create_toolbar,
+ icon_name='toolbar-create')
+ create_toolbar.show()
+ toolbar_box.toolbar.insert(create_toolbar_button, -1)
+ create_toolbar_button.show()
- separator = gtk.SeparatorToolItem()
- separator.props.draw = False
- separator.set_expand(True)
- toolbar_box.toolbar.insert(separator, -1)
- separator.show()
+ separator = gtk.SeparatorToolItem()
+ separator.props.draw = False
+ separator.set_expand(True)
+ toolbar_box.toolbar.insert(separator, -1)
+ separator.show()
- stop_button = StopButton(self)
- toolbar_box.toolbar.insert(stop_button, -1)
- stop_button.show()
+ stop_button = StopButton(self)
+ toolbar_box.toolbar.insert(stop_button, -1)
+ stop_button.show()
- self.set_toolbar_box(toolbar_box)
- toolbar_box.show()
- return toolbar_box
+ self.set_toolbar_box(toolbar_box)
+ toolbar_box.show()
+ return toolbar_box
except NameError:
#Use old <= 0.84 toolbar design