filechooserbutton: Hide the combobox by default

This commit is contained in:
Timm Bäder 2017-03-26 12:42:07 +02:00
parent 0fa2fee01a
commit aa9da1fe1f

View File

@ -553,7 +553,7 @@ gtk_file_chooser_button_init (GtkFileChooserButton *button)
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (priv->combo_box),
priv->name_cell, "text", 1, NULL);
gtk_widget_hide (priv->combo_box);
gtk_widget_set_parent (priv->combo_box, GTK_WIDGET (button));
priv->child = priv->button;