filechooserwidget: Port to GtkSignalListItemFactory
authorCorey Berla <corey@berla.me>
Fri, 21 Apr 2023 14:45:08 +0000 (07:45 -0700)
committerCorey Berla <corey@berla.me>
Fri, 21 Apr 2023 15:14:32 +0000 (08:14 -0700)
commit056237fc04ea097917a0a7e08d8b6cf8195820a3
tree64eafc83578672cb851c38e9f625de8ade8915a3
parent1a7e808c272a724232d29bede6102e92c1886179
filechooserwidget: Port to GtkSignalListItemFactory

BuilderListItemFactory isn't quite suited for our purposes, primarily
because you can't pass user data to BuilderListItemFactory.  Because
we can't get the data we are using a workaround to get the
GtkFileChooserWidget ancestory, which used to work, but with the
recent list view changes no longer doesn't.  Use GtkSignalListItemFactory
with the GtkFileChooserWidget as the user data.
gtk/gtkfilechooserwidget.c
gtk/ui/gtkfilechooserwidget.ui