diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-08-09 16:13:58 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-08-15 18:57:57 -0400 |
commit | 6fb69845b02c670a1bf11d85db0160d86f671f86 (patch) | |
tree | 615de2186f6b3382b86b06a32de4603258f5534f /gtk/gtkfontchooser.c | |
parent | 7c4ad1f400d3195ac893b10c0c8811f11894d10d (diff) | |
download | gtk+-6fb69845b02c670a1bf11d85db0160d86f671f86.tar.gz |
Make the fontchooser dialog come up in a reasonable size
This is not a perfect solution; we really just want to set
a nice default size, but GTK+ does not make that easy.
Diffstat (limited to 'gtk/gtkfontchooser.c')
-rw-r--r-- | gtk/gtkfontchooser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c index 63cbbd50f6..cdf13849f3 100644 --- a/gtk/gtkfontchooser.c +++ b/gtk/gtkfontchooser.c @@ -573,6 +573,7 @@ gtk_font_chooser_init (GtkFontChooser *fontchooser) GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win), GTK_SHADOW_ETCHED_IN); + gtk_widget_set_size_request (scrolled_win, 400, 300); gtk_container_add (GTK_CONTAINER (scrolled_win), priv->family_face_list); |