Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-06-19 12:50:08 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-07-01 13:12:51 (GMT)
commite90fccfd37bbd01bd6c0bebdc0614a2095b92355 (patch)
tree085fdec2fcab8a414bd2dc80d568db9d4226faf8
parente2ab351b367e6b95fcd3ba385bb29ecb7453b2d0 (diff)
Use set_toolbar_box() in example code.
The set_toolbox() method is obsolete, so let's not advertise it. Signed-off-by: Bernie Innocenti <bernie@codewiz.org>
-rw-r--r--src/sugar/activity/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/activity/widgets.py b/src/sugar/activity/widgets.py
index ed80a03..5b712f2 100644
--- a/src/sugar/activity/widgets.py
+++ b/src/sugar/activity/widgets.py
@@ -336,7 +336,7 @@ class ActivityToolbox(Toolbox):
... your code, inserting all other toolbars you need, like EditToolbar
# Add the toolbox to the activity frame:
- self.set_toolbox(toolbox)
+ self.set_toolbar_box(toolbox)
# And make it visible:
toolbox.show()
"""