Peter Djalaliev wrote: > Currently, nsExternalAppHandler::PromptForSaveToFile would invoke the > nsIFilePicker interface, which would invoke the Gtk2 file choose > dialog (under Linux).
Actually, it invokes either the GTK2 file chooser or the XUL one, depending on the GTK2 version and the value of the "ui.allow_platform_file_picker" boolean preference. > Searching about how to do this, I see tons of examples how to infoke > this file picker in JavaScript, but not in C++. Invoking the filepicker is the same in both -- you createInstance the contract, and tell it to to open... What happens then depends on what component is registered for the contract. -Boris _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
