[Geany-devel] altername session management implementation
Dimitar Zhekov
hamster at xxxxx
Wed May 19 11:17:52 UTC 2010
Hi, all,
This is an alternate implementation of Eugene's X11 session support.
The main difference is that the state each running Geany is saved
into a separate temporary Geany configuration file.
Each Geany is restored exactly it was before the session was closed,
including open files, options (including applied but unsaved),
per-document options (even if no project file is open) etc.
There are no races when saving geany.conf, it's not saved at all. If
you want to save the options, so that the next Geany will use them,
just go to the Geany you want the options from and save them,
exactly as you would do before the session was closed.
Should there be "main" and "option-saving" instances, which ones,
and how should they differ from the "secondary" instances? As Eugene
pointed out, this is not related to the session management, at least
with this SM implementation.
The patch applies against the latest svn-4933. Of course, it should
not be included in 0.19, I only finished it today. Some parts of
Eugene's SM were reverted, since they were not required.
--
E-ragds: Jimmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsm-4933.diff
Type: text/x-diff
Size: 39550 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100519/32ee256b/attachment.diff>
More information about the Devel
mailing list