[Sugar-devel] detecting read_file
Gary Martin
garycmartin at googlemail.com
Mon Nov 29 06:16:51 EST 2010
Hi Erik,
On 28 Nov 2010, at 23:25, Erik Blankinship <erikb at mediamods.com> wrote:
> It appears read_file is not called when launching a new activity, and is called when resuming an old activity.
Yep.
> When launching a new activity, is there something I can listen for or detect which tells me read_file is not going to be called?
Yea, have a look at the below link, checking for object_id == None, I was using it to test some code changes I was planning some time back but forgot to remove the test code :)
http://git.sugarlabs.org/moon/mainline/blobs/master/moon.py#line67
Regards,
--Gary
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
More information about the Sugar-devel
mailing list