From e90fccfd37bbd01bd6c0bebdc0614a2095b92355 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Sat, 19 Jun 2010 12:50:08 +0000 Subject: Use set_toolbar_box() in example code. The set_toolbox() method is obsolete, so let's not advertise it. Signed-off-by: Bernie Innocenti --- 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() """ -- cgit v0.9.1