filechooserwidget: Listen to items-changed too
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Oct 2022 23:53:36 +0000 (19:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2022 02:34:40 +0000 (22:34 -0400)
commitec4f814bd46a19af72ed8f45d957a3d29ca6b416
treefa44af7c9108eb7a9cc5986b4269b23838a29fce
parent0141ba4e0086da63018c3f282cf34eca871f3926
filechooserwidget: Listen to items-changed too

To track changes of the selected items in a selection
model, we need to listen to both ::selection-changed
and ::items-changed.

This fixes the open button not turning sensitive
when initially loading a new folder.
gtk/gtkfilechooserwidget.c