Hi Caolan, On Tue, 2011-11-29 at 12:32 +0000, Caolán McNamara wrote: > > Caolan - after the 'word count' victim dialog, it seems that the > > extensions dialog has a foul nightmare of manual size calulation all > > over it ;-) cf. the ~90 lines of: > > Bah, just weeping with sadness with my recent discovery that "Cancel" > buttons without am explicit callback set will query their immediate > parent if its a Dialog and call "EndDialog" on it or "Close" if its not > a dialog when pushed :-(
Ah - but this is what I added: Window* Window::GetParentDialog() const for - surely ? :-) [ at least to reduce the cut/paste of that code inside cui/ ;-] - it just walks up the hierarchy in a nasty way looking for a dialog parent. ATB, Michael. -- michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice