[gtk+/font-selection-new: 30/73] GtkFontSelection: Setting a default vertical size



commit 132bb44def6bbff11741f694584342b3879eadab
Author: Alberto Ruiz <aruiz gnome org>
Date:   Sat Apr 16 22:52:03 2011 +0100

    GtkFontSelection: Setting a default vertical size

 gtk/gtkfontsel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c
index 7ffde58..9eedd2d 100644
--- a/gtk/gtkfontsel.c
+++ b/gtk/gtkfontsel.c
@@ -414,8 +414,8 @@ gtk_font_selection_init (GtkFontSelection *fontsel)
   gtk_box_pack_start (GTK_BOX (preview_and_size), scrolled_win, FALSE, FALSE, 0);
   
   /* Setting the size requests for various widgets */
-  gtk_widget_set_size_request (priv->family_face_list, -1, 360);
-  gtk_widget_set_size_request (scrolled_win, -1, PREVIEW_HEIGHT);
+  gtk_widget_set_size_request (fontsel,       -1, 460);
+  gtk_widget_set_size_request (scrolled_win,  -1, PREVIEW_HEIGHT);
   gtk_widget_set_size_request (priv->preview, -1, PREVIEW_HEIGHT - 6);
 
   /* Unset the frame on the preview entry and set a shadow in the scrolled window */



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