[empathy: 1/3] dialpad-widget: ensure able to show with gtk_widget_show()
- From: Danielle Madeley <daniellem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 1/3] dialpad-widget: ensure able to show with gtk_widget_show()
- Date: Sat, 5 Nov 2011 01:30:14 +0000 (UTC)
commit b39f8ef08e064d4d61e0720afad4c534c07a7dc8
Author: Danielle Madeley <danielle madeley collabora co uk>
Date: Fri Nov 4 17:12:21 2011 +1100
dialpad-widget: ensure able to show with gtk_widget_show()
The child widgets of the dialpad-widget weren't being shown, so the widget
required a gtk_widget_show_all() to show up. Unexpected :(
libempathy-gtk/empathy-dialpad-widget.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-dialpad-widget.c b/libempathy-gtk/empathy-dialpad-widget.c
index 9baaa4a..0790123 100644
--- a/libempathy-gtk/empathy-dialpad-widget.c
+++ b/libempathy-gtk/empathy-dialpad-widget.c
@@ -179,6 +179,10 @@ empathy_dialpad_widget_init (EmpathyDialpadWidget *self)
}
gtk_box_pack_start (GTK_BOX (self), grid, FALSE, FALSE, 3);
+
+ /* show everything but the packing box */
+ gtk_widget_show_all (GTK_WIDGET (self));
+ gtk_widget_hide (GTK_WIDGET (self));
}
GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]