]> Pileus Git - ~andy/gtk/commit
filechooserbutton: Update the combo box even after the dialog is cancelled
authorFederico Mena Quintero <federico@gnome.org>
Fri, 8 Mar 2013 18:43:10 +0000 (12:43 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Fri, 8 Mar 2013 18:43:21 +0000 (12:43 -0600)
commitf076b6bb0284b59de67d5be8d53a14b5bb32e119
tree9505e51bcd0f9095d10019ab52cc1eb9522b4f52
parente4c2ef108cc66210af015b679ce3542ca6decfec
filechooserbutton: Update the combo box even after the dialog is cancelled

We assumed that we didn't have to update the combo box if the dialog got cancelled,
as it should simply retain its previous contents.  But this assumption doesn't work
as the dialog is brought up with the 'Other...' item - we don't want the
combo box to keep showing 'Other...' if the dialog is cancelled.

The test from the previous commit now passes.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserbutton.c