#2873 NORM Untriag: activity class should initialize and show toolbox by default
Zarro Boogs per Child
bugtracker at laptop.org
Fri Aug 17 11:21:21 EDT 2007
#2873: activity class should initialize and show toolbox by default
--------------------+-------------------------------------------------------
Reporter: ywwg | Owner: marco
Type: defect | Status: new
Priority: normal | Milestone: Untriaged
Component: sugar | Version:
Keywords: | Verified: 0
--------------------+-------------------------------------------------------
Right now an activity must perform some "unbreakme" behavior on startup.
Each activity must create and show a toolbox:
{{{
toolbox = activity.ActivityToolbox(self)
self.set_toolbox(toolbox)
toolbox.show()
}}}
Without this code it isn't possible to quit the activity.
Suggestion:
Add a self._toolbox member to the activity class and show it by default.
Activities that don't want to use a toolbox can explicitly hide it. It
makes more sense to me to have the toolbox be the default, and require
extra effort to hide it.
--
Ticket URL: <https://dev.laptop.org/ticket/2873>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list