
Are you saying that at some stage there was suport for native windows file dialogs which was then removed? If so why was this? and if I was to add the support in once again would I be reversing some community decision from a while ago? if that decision was made, on what grounds was it made?
----- Original Message ----- From: "Bob Jamison" <rwjj@...127...> To: "Joel Holdsworth" <joel@...1709...>; inkscape-devel@lists.sourceforge.net Sent: Tuesday, June 26, 2007 4:20 PM Subject: SPAM-LOW: Re: [Inkscape-devel] Getting the GdkWindow in which a verb was invoked
Joel Holdsworth wrote:
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
You might look at src/dialogs/filedialog-win32.cpp as an example. It was the original native dialog that we replaced with the current one.
bob