Autosave in 8.2.0?

Tomeu Vizoso tomeu at tomeuvizoso.net
Sat Jul 19 05:34:37 EDT 2008


On Thu, Jul 17, 2008 at 4:37 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> Am 17.07.2008 um 00:10 schrieb Tomeu Vizoso:
>
>> Marco has added a session manager to Sugar (in 8.2.0) that takes care
>> of telling activities to save their work because the system is being
>> shut down. Haven't verified if this is complete and working. Have you,
>> Marco? If so, this would also take care of the case where kids shut
>> down before closing all running activities first.
>
>
> How does this work from an activity's pov?

A python activity using the Sugar API does nothing, the save() method
will be called as required.

The rest of the activities would use
http://www.xfree.org/current/xsmp.pdf to note when are expected to
save their data, hopefully using a wrapper around the protocol like
the one in GNOME:
http://library.gnome.org/devel/libgnomeui/unstable/GnomeClient.html

I think that Freedesktop people are moving to a D-Bus based protocol,
but don't the status of it.

Regards,

Tomeu



More information about the Devel mailing list