>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Am Mittwoch, 18. Oktober 2006 17:22 schrieb Bo Peng:
>> 1. when lyx close, get the names of all toolbars, query their
>> status (on/off) and write to session file, something like:
>> 
>> standardToolbar On extraToolbar Off
>> 
>> "Toolbar" is added to toolbar names.

Georg> I think you should rather use

Georg> Toolbar standard On Toolbar extra Off

Actually, I do not understand what Bo means. Currently, what I see in
my session file looks like

[recent files]
/afs/inria.fr/rocq/home/preval/lasgoutt/src/lyx/lyx-devel/lib/doc/fr_Intro.lyx
/afs/inria.fr/rocq/home/preval/lasgoutt/src/lyx/lyx-devel/lib/doc/Intro.lyx
/afs/inria.fr/rocq/home/preval/lasgoutt/src/lyx/lyx-devel/lib/doc/cs_Tutorial.lyx
/afs/inria.fr/rocq/home/preval/lasgoutt/bug2587.lyx

[cursor positions]
1, 0, /afs/inria.fr/rocq/home/preval/lasgoutt/bug2587.lyx
0, 0, 
/afs/inria.fr/rocq/home/preval/lasgoutt/src/lyx/lyx-devel/lib/doc/Extended.lyx


Why wouldn't it be possible to write

[toolbars]
standard = On
extra = Off

I would really like to see this session file have a reasonable syntax.
Currently, each section has its own.

JMarc

Reply via email to