forked from AuroraMiddleware/gtk
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 <federico@gnome.org>
This commit is contained in:
parent
32aa7f0582
commit
bbf915118b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user