#4633 NORM Never A: Activities with create_jobject=False do not have a name in the ring.
Zarro Boogs per Child
bugtracker at laptop.org
Sat Nov 3 20:28:47 EDT 2007
#4633: Activities with create_jobject=False do not have a name in the ring.
--------------------+-------------------------------------------------------
Reporter: bemasc | Owner: marco
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: sugar | Version:
Keywords: | Verified: 0
--------------------+-------------------------------------------------------
Some Activities serve simply to present the user with a small piece of
information, and the user interacts with them passively. There is no
point logging in the Journal each time the user accesses the Activity.
For example, in the case of the Clock activity, it would be silly to
create a Journal entry every time the user checks what time it is.
Sugar already provides a mechanism for such activities. Any activity
instantiated with create_jobject=False in the activity.Activity
constructor will not have Journal objects created automatically. This is
good. However, Activities created in this manner do not have a working
metadata attribute, and therefore appear in the ring with no title. In
the case of Clock, I was able to hack around this by instantiating my own
datastore.DSMetadata object, but this is an ugly, incomplete solution.
--
Ticket URL: <http://dev.laptop.org/ticket/4633>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list