GtkFileChooserNativeWin32: Add some option flags
authorLuca Bacci <luca.bacci982@gmail.com>
Fri, 7 Oct 2022 17:06:09 +0000 (19:06 +0200)
committerLuca Bacci <luca.bacci982@gmail.com>
Fri, 7 Oct 2022 17:06:09 +0000 (19:06 +0200)
commit8bfc19e7f775c5eceacc61c7288175e034fb6ef7
treeaf68f7ec282fc4085c1524d512b9b4de8fd65976
parentd6f7449636b47a7f4a5bf93df578697ea8f3ef93
GtkFileChooserNativeWin32: Add some option flags

Avoid changing the current directory.
Also avoid creating a sample file to test if the target file
can be created.

References:

* "Why does the common file dialog change the current directory?"
 -> https://devblogs.microsoft.com/oldnewthing/20101112-00/?p=12293

* "Why does the common file save dialog create a temporary file and then delete it?"
 -> https://devblogs.microsoft.com/oldnewthing/20140429-00/?p=1123
gtk/gtkfilechoosernativewin32.c