From bbf915118bd3ff3a871a8c8014514352037f6d10 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 7 Mar 2013 13:50:34 -0600 Subject: [PATCH] filechooserbutton: Update the button/combo at construction time This way the internal labels will show the correct selection even if nothing has been selected programmatically. Signed-off-by: Federico Mena Quintero --- gtk/gtkfilechooserbutton.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index 1bea89bca..ec5449fed 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -946,6 +946,9 @@ gtk_file_chooser_button_constructor (GType type, g_signal_connect (priv->fs, "bookmarks-changed", G_CALLBACK (fs_bookmarks_changed_cb), object); + update_label_and_image (button); + update_combo_box (button); + return object; } -- 2.43.2