[gtk+/wip/baedert/widget-templates] filechooserbutton: Hide the combobox by default



commit d98bc177d0ed1fd5cdc09be3eb11ffeb97c2c15c
Author: Timm Bäder <mail baedert org>
Date:   Sun Mar 26 12:42:07 2017 +0200

    filechooserbutton: Hide the combobox by default

 gtk/gtkfilechooserbutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index 96c6603..c8d3d52 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]