filechooserwidget: Add a filter model
authorMatthias Clasen <mclasen@redhat.com>
Tue, 11 Oct 2022 02:21:39 +0000 (22:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2022 02:34:40 +0000 (22:34 -0400)
commit280adcbb8c4caf209a1da3035a3b3691d80fcad6
tree738385bf77c3b74dbe26fd6f0a82a6ea23bdd5e9
parent83431a999c81a99e56369a7b6e588aa99101b3a7
filechooserwidget: Add a filter model

Put a filter model between the selection model and
the filesystem model, and make it filter on the
filechooser::visible attribute. This makes the filer
combo in the filterchooser and the 'show hidden files'
item work. But we need to prod the filter to trigger
a refiltering every now and then.
gtk/gtkfilechooserwidget.c