Alright, I made the suggested changes:
1. I made GtkFileChooserNative configurable, by default enabled on macOS and 
Windows, disabled on Linux.
2. I went through all GtkFileChooser occurrences in Geany and added the native 
variant
3. Not sure if intentional or if it's some left-over but `ui_utils.c` still 
contains native win32 dialogs: 
https://github.com/geany/geany/blob/11b4a00a3020b1c9ace3d3ae65aa5ec7d5ff84e0/src/ui_utils.c#L2012
 I replaced those with GtkFileChooserNative and eliminated the native code in 
win32.c.
4. For now I didn't modify plugins which also contain some GtkFileChooser code 
but I could do the same for them too if desired.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3861#issuecomment-2106377618
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3861/[email protected]>

Reply via email to