summaryrefslogtreecommitdiff
path: root/gtk/gtkfontsel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-12-20 04:49:49 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-12-20 04:49:49 +0000
commitc7755bc9498b877aedd6a6a7eeb6004c1f134c4e (patch)
tree6f9e340b87349bb03c9f4d97684d651305d493af /gtk/gtkfontsel.c
parentfb14db07bdfb7b0181757c4a0fa33072afc363e7 (diff)
downloadgdk-pixbuf-c7755bc9498b877aedd6a6a7eeb6004c1f134c4e.tar.gz
Check for FreeType using freetype-config, since we can't rely on Xft to
Tue Dec 19 23:47:27 2000 Owen Taylor <otaylor@redhat.com> * configure.in gdk/x11/Makefile.am: Check for FreeType using freetype-config, since we can't rely on Xft to pull in the libraries for us, or rely on it being in the default include path first. * gtk/gtkframe.c: Fix some problems where the gap wasn't being drawn in the right place, especially for right-aligned frame labels. Thu Dec 14 21:02:59 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkfontsel.c (gtk_font_selection_select_font): Update the font_name entry as needed.
Diffstat (limited to 'gtk/gtkfontsel.c')
-rw-r--r--gtk/gtkfontsel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c
index 06f8367b9..cbe21567e 100644
--- a/gtk/gtkfontsel.c
+++ b/gtk/gtkfontsel.c
@@ -429,6 +429,8 @@ gtk_font_selection_select_font (GtkWidget *w,
{
g_free (fontsel->font_desc->family_name);
fontsel->font_desc->family_name = g_strdup (family_name);
+
+ gtk_entry_set_text (fontsel->font_entry, family_name);
gtk_font_selection_show_available_styles (fontsel);
gtk_font_selection_select_best_style (fontsel, TRUE);