Am Mittwoch, 18. Oktober 2006 21:18 schrieb Bo Peng: > > I think you should rather use > > > > Toolbar standard On > > Toolbar extra Off > > > > This is easier to parse. > > Not for session.h/C. It reads a keyword and a value. In my case, the > keywords are standardToolbar etc, and in your case there are duplicate > keywords.
The toolbar names are not fixed. You can invent new toolbars in lib/ui/stdtoolbars.ui and add them to lib/ui/default.ui. Therefore you always need to construct the keyword in your patch. What is wrong with adding e method that reads two values for a keyword to session.[hC]? IMO it is worth it, because the syntax is cleaner. Georg