summaryrefslogtreecommitdiff
path: root/libempathy-gtk/empathy-dialpad-widget.c
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-11-04 17:12:21 +1100
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-11-04 17:12:21 +1100
commitb39f8ef08e064d4d61e0720afad4c534c07a7dc8 (patch)
tree6e01c2f7e64c4805a443aaee2baec75cbdb46555 /libempathy-gtk/empathy-dialpad-widget.c
parent84d946f81001605bc6608e8a0ad5a19eaa88136c (diff)
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 :(
Diffstat (limited to 'libempathy-gtk/empathy-dialpad-widget.c')
-rw-r--r--libempathy-gtk/empathy-dialpad-widget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-dialpad-widget.c b/libempathy-gtk/empathy-dialpad-widget.c
index 9baaa4a8..0790123e 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 *