On Wed, Jul 23, 2003 at 11:51:50AM +0200, Juergen Spitzmueller spake thusly:

> Martin Vermeer wrote:
> > How do your saved .lyx files look? Is there a string like
> >
> > \branch_colors blue|red|none|magenta|none
> 
> Yes. The color (in the color combo) is also correct after reopening a saved 
> file. There's just nothing visible on screen.
> 
> Juergen.

Ah. In insets/insetbranch.C there is the passage in setButtonLabel:

    LColor lc;
    string const color = params_.branchlist.getColor(params_.branch);
    if (color != "none" && color != string())
        setBackgroundColor(lc.getFromGUIName(color));
    else
        setBackgroundColor(LColor::background);

Could you instrument this with lyxerr stmts and see what happens
(alternatively use gdb)?

Martin

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to