On 10/27/2010 07:50 AM, Vincent van Ravesteijn wrote:
For some numbers a glimpse of the old battles:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg126692.html
I am surprised this was only three years ago.
Andre', feeling younger suddenly.
Ah, we didn't have those in-depth discussions for a long time.
Anyway, on a more serious note. This discussion in that thread, is
that about the same as what Abdel did to the GUI by using DialogView
instead of the 'old' GuiDialog. Not using the ButtonPolicy/Controller
anymore, but implementing it in every class over and over again.
Well the amount of code to use the ButtonPolicy/Controller stuff is
basically the same as doing the thing directly the dialog class, even
less...
Besides, this is not really true... the goal was to have a base dialog
container that will do all the button logic. The old way is that every
class decide on his own logic thus forcing on a dialog based design.
DialogView is just one brick, InsetDialog is another.
Oh.. now the Restore button is always enabled in the InsetDialog
Guess what? You fix it and all InsetDialog based dialogs will be fixed :-P
Abdel.