← Back to context

Comment by cowtools

4 years ago

I think the difference is that GtkFilePicker is a part of the running GTK program, like firefox for example. If you wanted to get all of nautilus' features, you would have to embed all of nautilus into your program, including features that would be innapropriate fir a file picker

Maybe instead of just using GtkFilePicker on linux, it should first check if there's an available "xdg-file-picker" in the environment, which gnome sets to nautilus with some flags to run it in file-picker mode.

Embedding Nautilus doesn't mean enabling all its features.

That said, I don't know if that's a problem, either. Windows does exactly that for its file picker - it's basically embedded Explorer, complete with context menu integration etc. And it works.