Richard Heck wrote:
It turns out that the multiple calls are due to the fact that updateToolbars(), which is called at the end of the dipatch() routine, also calls update() which calls update_contents(). Since update() also gets called in, say, the INSET_APPLY routine, you get multiple calls. Is it worth looking into whether there's some way to set a flag that will prevent the multiple calls when we know they're not needed?
I think we should get rid of _all_ update calls from the core (INSET_APPLY). But then this is a major cleanup so I suggest to let it like this for now.
Abdel.
