summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserbutton.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-03-26 12:42:07 +0200
committerTimm Bäder <mail@baedert.org>2017-03-31 09:50:39 +0200
commitaa9da1fe1fbd5d1ba58a91abda7bf358ed1be257 (patch)
tree6b3f757a17ce3c5ecb99b1be1caf5ef3c1058965 /gtk/gtkfilechooserbutton.c
parent0fa2fee01a253ca95edaebe4f916a56cf134618b (diff)
downloadgtk+-aa9da1fe1fbd5d1ba58a91abda7bf358ed1be257.tar.gz
filechooserbutton: Hide the combobox by default
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r--gtk/gtkfilechooserbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index 96c66038ba..c8d3d52ba4 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -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;