GNOME Bugzilla – Bug 633530
Split GtkFileChooserWidget into smaller components
Last modified: 2018-01-17 00:08:56 UTC
Just a suggestion here. I think GtkFileChooserWidget is too clumsy as-is to be used for anything other than GtkFileChooserDialog. Could GtkFileChooserWidget be split into a GtkPlaces, GtkPathBar and GtkFilesystemView widget? Or the very least, expose API to easily enable/disable these components.
Yes, I've been wanting to split GtkFileChooser into reusable widgets for some time. Unfortunately I haven't had time to do so. If you want to try your hand at this, I'd happily advise you on the steps to take. Some of the code is rather tangled (especially the Places sidebar, whose code is just interspersed with GtkFileChooserDefault), but it shouldn't be too hard to split it apart into a clean, standalone widget.
I think it is fair to say that this won't happen