GtkFileChooserButton: Don't update icon/label so often
authorTimm Bäder <mail@baedert.org>
Thu, 16 Jul 2015 19:47:13 +0000 (21:47 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 17 Jul 2015 03:36:44 +0000 (05:36 +0200)
commitc53bed3b391f42c85fb62c029005d086d43686b0
treea7b7be4501431d2e1d8daf8984470ee741c29a8d
parent2902585518e0c175e75ec4d9657594a904e2eb0a
GtkFileChooserButton: Don't update icon/label so often

They were updated in style-changed, causing the label to get set to
(None), then to the actual file name again a frame later, both of the
updates cause the GtkFileChooserButton to resize, possibly to the
minimal width, causing the layout to jump. Fix this by only updating
icon/label in style-updated when the icon theme actually changed, which
is the only case we care about here.

https://bugzilla.gnome.org/show_bug.cgi?id=752509
gtk/gtkfilechooserbutton.c