[gtk+/font-chooser: 8/86] GtkFontChooser: Adding the preview
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/font-chooser: 8/86] GtkFontChooser: Adding the preview
- Date: Sun, 10 Jul 2011 23:40:32 +0000 (UTC)
commit 9332213b82ae990307c1f47677e360a00e8636b4
Author: Alberto Ruiz <aruiz gnome org>
Date: Fri Apr 15 22:28:50 2011 +0100
GtkFontChooser: Adding the preview
gtk/gtkfontchooser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c
index 0bdcfec..fad7012 100644
--- a/gtk/gtkfontchooser.c
+++ b/gtk/gtkfontchooser.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]