Hi again,
I'm currently working on a patch to add support for
native file dialogs for windows users. It's worked out pretty well, and I'm
almost finished. I have one slight problem though: parent windows.
In the GTK version, sp_file_open_dialog (in
file.cpp) is called from inside FileVerb::Perform in verbs.cpp. But how is it
possible to get the GdkWindow object of the windows in which the verb was
invoked? If I have this I can add it as an extra parameter to
sp_file_open_dialog, to enable both the GTK, and Win32 file dialogs to be
correctly set as child windows of the document's window.
Any suggestions?
Joel Holdsworth