Re: [PATCH] Improve session management



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.

-- 
Christian Neumair <chris gnome-de org>




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