Re: Recent inset changes and ERT

2003-12-03 Thread Andre Poenitz
On Wed, Dec 03, 2003 at 06:43:07PM +0200, Martin Vermeer wrote: > On Wed, Dec 03, 2003 at 05:18:46PM +0100, Andre Poenitz spake thusly: > > > > + if (swap) > > > + setButtonLabel(); > > > } > > > > I'd even call setButtonLabel() uncnditionally here. More robust and not > > really expens

Re: Recent inset changes and ERT

2003-12-03 Thread Martin Vermeer
On Wed, Dec 03, 2003 at 05:18:46PM +0100, Andre Poenitz spake thusly: > > + if (swap) > > + setButtonLabel(); > > } > > I'd even call setButtonLabel() uncnditionally here. More robust and not > really expensive... I had that at first, then decided to go minimalistic :-( - Martin

Re: Recent inset changes and ERT

2003-12-03 Thread Andre Poenitz
On Wed, Dec 03, 2003 at 06:15:41PM +0200, Martin Vermeer wrote: > André, is this OK, or covering up something deeper? If OK, I'll commit. Looks ok. > Index: insetert.C > === > RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ins

Re: Recent inset changes and ERT

2003-12-03 Thread Martin Vermeer
On Tue, Dec 02, 2003 at 02:50:30PM -0800, Kayvan A. Sylvan spake thusly: > On Tue, Dec 02, 2003 at 11:45:15AM -0800, Kayvan A. Sylvan wrote: > > ERT insets no longer have the nice special labels when they are closed. > > Can this be put back please? > > > > If you don't know what I mean: If the

Re: Recent inset changes and ERT

2003-12-03 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 11:45:15AM -0800, Kayvan A. Sylvan wrote: > ERT insets no longer have the nice special labels when they are closed. > Can this be put back please? A quick test seems to indicate that this works (at least in my tree...) > Also, wrap:Figure insets do not display right (textu

Re: Recent inset changes and ERT

2003-12-02 Thread Kayvan A. Sylvan
On Tue, Dec 02, 2003 at 11:45:15AM -0800, Kayvan A. Sylvan wrote: > ERT insets no longer have the nice special labels when they are closed. > Can this be put back please? > > If you don't know what I mean: If the ERT was short, the label > was the actual contents of the inset. Now, this is no long

Recent inset changes and ERT

2003-12-02 Thread Kayvan A. Sylvan
ERT insets no longer have the nice special labels when they are closed. Can this be put back please? If you don't know what I mean: If the ERT was short, the label was the actual contents of the inset. Now, this is no longer the case and instead the label is "ERT". Also, wrap:Figure insets do not