[Libreoffice-ux-advise] [Libreoffice] [PUSHED] Fix for fdo39748 Easy hack: Cleanup extensions list

Michael Meeks michael.meeks at suse.com
Tue Nov 29 05:46:17 PST 2011


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.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the Libreoffice-ux-advise mailing list