From e90fccfd37bbd01bd6c0bebdc0614a2095b92355 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Sat, 19 Jun 2010 08:50:08 -0400 Subject: [PATCH] Use set_toolbar_box() in example code. The set_toolbox() method is obsolete, so let's not advertise it. Signed-off-by: Bernie Innocenti --- src/sugar/activity/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar/activity/widgets.py b/src/sugar/activity/widgets.py index ed80a03d..5b712f2e 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() """