[sugar] Deleting journal entry

Tomeu Vizoso tomeu at tomeuvizoso.net
Fri Aug 22 03:01:05 EDT 2008


On Thu, Aug 21, 2008 at 8:38 PM, Arjun Sarwal <arjun at laptop.org> wrote:
>
> Whenever user records a few values, a journal entry gets created. When
> he choses to record a few more values another journal entry gets
> created which is still basically pointing to the same file that has
> been updated with few more values. How can I delete the previous
> entry.

Hi Arjun,

see here how the journal deletes entries:

http://dev.laptop.org/git?p=journal-activity;a=blob;f=palettes.py;h=ec3de0b5902e069073fde44a966c5cee3f809051;hb=HEAD#l98

But in the case you describe, may be better to just modify (update)
the existing entry?

In the future, Rainbow may limit your activity's access to the DS and
deleting may not be possible any more.

Regards,

Tomeu


More information about the Sugar mailing list