[gtk+/font-selection-new: 8/73] GtkFontSelection: Adding the preview



commit 7592b05b990b2fc3ee9fed375410dc8416da9a6f
Author: Alberto Ruiz <aruiz gnome org>
Date:   Fri Apr 15 22:28:50 2011 +0100

    GtkFontSelection: Adding the preview

 gtk/gtkfontsel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c
index 0bdcfec..fad7012 100644
--- a/gtk/gtkfontsel.c
+++ b/gtk/gtkfontsel.c
@@ -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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]