file chooser: Avoid doing excess work
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 Jul 2015 01:06:58 +0000 (21:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 11 Jul 2015 05:15:42 +0000 (00:15 -0500)
commit201d4c110186dcfa77f2cee2bed88f1674c52f54
treedd7503ac06968bb4745ceac56634607599eee132
parent72a8064c7d1ebf3bffb20b0f4c3092d7ae4fb1cf
file chooser: Avoid doing excess work

Whenever we change directories, we unset the model, and then
we set a new model. This causes several emissions of
GtkTreeSelection::changed, for each of which we do a bunch
of work to update the path bar, the location entry, etc.

We can savely ignore some of these signals, and do less work.
gtk/gtkfilechooserwidget.c