filechoosercell: Store type_format in filechoosercell
authorCorey Berla <corey@berla.me>
Mon, 10 Apr 2023 22:14:42 +0000 (15:14 -0700)
committerCorey Berla <corey@berla.me>
Tue, 11 Apr 2023 01:02:35 +0000 (18:02 -0700)
commitdd407dab000dc4de7d078c6270c93d303a1c18c6
tree36b443a0ad57ae2c6fe3ccb39304734d1b16ce33
parentccae75022bd578dad276d8d9bbb50ec735f8ff90
filechoosercell: Store type_format in filechoosercell

The format of the type column depends on the the type_format, which
is stored in the filechooserwidget.  We get that setting by looking
for the filechooserwidget ancestor, which no longer works after recent
changes to the list views (it was fragile to begin with).  At one point,
the setting appears to have been dynamic, but now it is only loading
from GSettings, so let's simply do the same within FileChooserCell.
gtk/gtkfilechoosercell.c
gtk/gtkfilechoosercellprivate.h
gtk/gtkfilechooserwidget.c