[gtk+/gtk-2-24] filechooserbutton: Update the button/combo at construction time
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] filechooserbutton: Update the button/combo at construction time
- Date: Fri, 8 Mar 2013 17:20:11 +0000 (UTC)
commit a72b31bac14864daf412343030196e9198e1b6ef
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Mar 7 13:50:34 2013 -0600
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>
gtk/gtkfilechooserbutton.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index 5e6ee29..a31da4a 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -910,6 +910,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]