diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-06-26 12:25:49 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-06-26 12:25:49 (GMT) |
commit | 89a567e45d2daeee722013cd47e21fdabc6b844e (patch) | |
tree | ec48dc8bd3b57bf3f305c2234d50ba289555c34f | |
parent | 81dde14cb9e5793df33592d77d2db7d8dccc5d59 (diff) |
Add forgotten code in the old toolbars, affects Sugar <= 0.84
Credits to Walter Bender.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
-rw-r--r-- | labyrinthactivity.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/labyrinthactivity.py b/labyrinthactivity.py index 2ebb9a5..3340bc6 100644 --- a/labyrinthactivity.py +++ b/labyrinthactivity.py @@ -508,6 +508,10 @@ class LabyrinthActivity(activity.Activity): view_toolbar = ViewToolbar(self._main_area) toolbox.add_toolbar(_('View'), view_toolbar) + self.mods = [None] * 6 + self.thought_toolbar = ThoughtsToolbar(self) + toolbox.add_toolbar(_('Thought Type'), self.thought_toolbar) + activity_toolbar = toolbox.get_activity_toolbar() activity_toolbar.share.props.visible = False toolbox.set_current_toolbar(1) |