[Sugar-devel] [DESIGN] JOURNAL+

Sam Parkinson sam.parkinson3 at gmail.com
Sun Feb 2 17:33:42 EST 2014


Hi

This changes the journal completely! Now objects are displayed like
sentences, like a real journal.
[image: image]

There is the action text (Logged, Did a, Wrote) which is set like this: (In
activity.info)

action_text = Watched

Then there is the expander thing:
[image: image]
(Record GTK3 is buggy!)

This is as simple as:

    mediaObject.metadata['is_child'] = True

    datastore.write(mediaObject)

    activity.add_child(recd.datastoreId)

Pull request: https://github.com/sugarlabs/sugar/pull/240

Thanks,

Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140203/32e20802/attachment.html>


More information about the Sugar-devel mailing list