[gtk+] filechooserbutton: Hide the combobox by default
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooserbutton: Hide the combobox by default
- Date: Fri, 31 Mar 2017 07:54:16 +0000 (UTC)
commit aa9da1fe1fbd5d1ba58a91abda7bf358ed1be257
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]