]> Pileus Git - ~andy/gtk/commitdiff
GtkFontChooser: Adding the preview
authorAlberto Ruiz <aruiz@gnome.org>
Fri, 15 Apr 2011 21:28:50 +0000 (22:28 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 15 Aug 2011 22:57:51 +0000 (18:57 -0400)
gtk/gtkfontchooser.c

index 0bdcfec73b6390467eabe43f6fe8aa40608fd622..fad7012ea34e6cddd1c3b0b1fc26bc011863b054 100644 (file)
@@ -321,6 +321,9 @@ gtk_font_selection_init (GtkFontSelection *fontsel)
   gtk_alignment_set_padding (alignment, 6, 0, 0, 0);
 
   preview_and_size = gtk_vbox_new (TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (preview_and_size), priv->preview, FALSE, TRUE, 0);
+  size_controls = gtk_hbox_new (TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (preview_and_size), size_controls, FALSE, TRUE, 0);
   gtk_container_add (GTK_CONTAINER (alignment), preview_and_size);
 
   /* Packing everything in the selection */