aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-dialpad-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-dialpad-widget.c')
-rw-r--r--libempathy-gtk/empathy-dialpad-widget.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-dialpad-widget.c b/libempathy-gtk/empathy-dialpad-widget.c
index 9baaa4a86..529aff26f 100644
--- a/libempathy-gtk/empathy-dialpad-widget.c
+++ b/libempathy-gtk/empathy-dialpad-widget.c
@@ -135,6 +135,8 @@ empathy_dialpad_widget_init (EmpathyDialpadWidget *self)
gtk_box_pack_start (GTK_BOX (self), self->priv->entry, FALSE, FALSE, 3);
grid = gtk_grid_new ();
+ gtk_grid_set_column_homogeneous (GTK_GRID (grid), TRUE);
+ gtk_grid_set_row_homogeneous (GTK_GRID (grid), TRUE);
for (i = 0; dtmfbuttons[i].label != NULL; i++)
{
@@ -179,6 +181,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 *