On 20-Feb-2002 Jean-Marc Lasgouttes wrote:
> Why can't you signal the insets directly? It looks like a case where > the lyxfunc think is really not appropriate... It looks like you could > just call some InsetGraphics::fileChanged method directly. You got a point there, but we have to provide a function for this then IMO. Well for now Angus could just add that function to InsetGraphics (I would call the function redrawInset(BufferView *) and then you could directly call InsetGraphics * myinset = *it; myinset->redrawInset(bview); and the function should be somethink like void redrawInset(BufferView * bv) { bv->updateInset(this, false); } Hmm or just without adding any functions why not directly call bview->updateInset(myinset, false) where you check for the changes. But I assume that you probably don't have the BufferView there or do you? Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ A robin redbreast in a cage Puts all Heaven in a rage. -- Blake