FYI there's an already-in-place mechanism in Glib.Application and therefore Granite.Application to fully save a state of an application and restore it later. This can be triggered by e.g. D-bus signal via the Glib.Application D-bus interfaces provided by any of our apps.
This is a very tempting shortcut at first glance. However, it might save the state a bit too fully - it serializes everything up to the the widget states and restores *everything* later, by which time the environment may have drastically changed and the saved state is no longer relevant. It might prove useful, but has to be thoroughly investigated and used with care. I'll copy-paste this message to the bug report for completeness. 2013/9/27 Daniel Foré <[email protected]> > Hey everyone, > > As this is the second release where we don't have a minimize button, I > think we really need to make sure we're pushing app state saving by > default. > > I've created a master bug report: https://bugs.launchpad.net/bugs/1232112 > > As always, feel free to add any apps here that it applies to. > > -- > Best Regards, > > Daniel Foré > > elementaryos.org > > -- > Mailing list: https://launchpad.net/~elementary-dev-community > Post to : [email protected] > Unsubscribe : https://launchpad.net/~elementary-dev-community > More help : https://help.launchpad.net/ListHelp > > -- Sergey "Shnatsel" Davidoff
-- Mailing list: https://launchpad.net/~elementary-dev-community Post to : [email protected] Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp

