This is the sort of patch that goes down well: diffstat reports 176 insertions and 452 deletions.
What it does: * adds a 'mailer_name_' variable to InsetCommand, enabling us to get rid of the destructors and many of the priv_dispatch member functions in classes derived from InsetCommand. * get's rid of the metrics and draw member fumctions in all classes derived from InsetCommand. In the process it fixes some bugs associated with Martin's button.box() stuff that is no longer necessary (and indeed buggers things up) now that he has added the display() member function. * cleans up many of the Mailer::string2params functions so that they use the new lyxlex syntax and have a common layout. * prevents an assert when opening the Qt citation dialog if the Bibtex database cannot be found. I guess that it is too big to go in as-is, so I'll revert it in my tree and re-apply it bit by bit with lots of testing. -- Angus
insets.diff.bz2
Description: BZip2 compressed data