file chooser: Improve the mode switching operation
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 Jul 2015 23:12:55 +0000 (16:12 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jul 2015 04:29:26 +0000 (00:29 -0400)
commit39c2d12330b6d4405ca8a5599c12017c58626fcf
tree47d45f667e51573c19d1e2acf6f06385cf7e5625
parent9a444673186c2d9be1f2c97d85d6f658c2338417
file chooser: Improve the mode switching operation

Avoid reloading models unnecessarily, e.g. when the user
switches to search and back without starting a search.
Keep the current list contents visible until a search is
actually started. Also, synchronize any changes in the
column layout with the corresponding model changes.
gtk/gtkfilechooserwidget.c