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>
This commit is contained in:
Bernie Innocenti 2010-06-19 08:50:08 -04:00
parent e2ab351b36
commit e90fccfd37

View File

@ -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()
"""