Re: [PATCH] Improve session management



On Mon, 2006-03-20 at 16:26 +0100, Christian Neumair wrote:
> Am Montag, den 20.03.2006, 14:33 +0100 schrieb Alexander Larsson:
> > On Thu, 2006-03-16 at 20:56 +0100, Christian Neumair wrote:
> > > The attached patch makes Nautilus store the state of previously open
> > > windows on exit and reopen them in their mode when restarted through
> > the
> > > session. It also adds support for storing a browser window's
> > maximized
> > > state in addition to its geometry.
> > > 
> > > http://bugzilla.gnome.org/show_bug.cgi?id=334215
> > 
> > Isn't it a bit strange to save the session state in a file in the
> > homedir. I though the idea was to save it in the session. Do other
> > apps
> > do things this way? 
> 
> Most applications seem to encode its whole state into arguments which
> are then added as argv to the restart command. Epiphany stores its
> sessions in ~/.gnome2/epiphany/session_gnome-XXXXXX.xml, and adds a
> --load-session command to the argv.

This sounds like a better approach. This way you can have multiple
sessions and all that.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a notorious native American photographer She's a green-fingered insomniac 
lawyer prone to fits of savage, blood-crazed rage. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]