Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.