Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imagewindow: Avoid use of GtkFileChooser* when GTK >= 4.10 #25

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

kleisauke
Copy link
Contributor

The GtkFileChooser APIs are deprecated in favor of the new GtkFileDialog API.

The GtkFileChooser APIs are deprecated in favor of the new
GtkFileDialog API.
kleisauke added a commit to libvips/build-win64-mxe that referenced this pull request Oct 31, 2023
@jcupitt
Copy link
Owner

jcupitt commented Oct 31, 2023

I agree getting a native file chooser is nice, but the linux UI for file dialog that comes with 4.10 is VERY basic and I don't think anyone would want to use it. Maybe we should only use file dialog on Windows?

@jcupitt
Copy link
Owner

jcupitt commented Oct 31, 2023

o wai, perhaps I'm confused? I tried building this and it seems OK.

Maybe it was just terrible in pre-4.10 gtk?

@kleisauke
Copy link
Contributor Author

Ah, you're right, it now also appears to open Nautilus instead of the basic one provided by GTK, at least on Fedora 38.

@jcupitt jcupitt merged commit a612280 into jcupitt:master Nov 1, 2023
@jcupitt
Copy link
Owner

jcupitt commented Nov 1, 2023

I agree, let's use the new thing.

@jcupitt
Copy link
Owner

jcupitt commented Nov 1, 2023

(and thanks!)

@kleisauke kleisauke deleted the GtkFileDialog branch November 1, 2023 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants