Commit 1ae1f1ba authored by Anders Carlsson's avatar Anders Carlsson Committed by Anders Carlsson

Show correct size in the size entry.

2002-01-29  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
	size in the size entry.
parent eb508600
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
......
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
......
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
......
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
......
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
......
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
......
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
......
......@@ -901,6 +901,7 @@ gtk_font_selection_select_size (GtkTreeSelection *selection,
GtkTreeModel *model;
GtkTreeIter iter;
gint new_size;
gchar buffer[128];
fontsel = GTK_FONT_SELECTION (data);
......@@ -913,6 +914,10 @@ gtk_font_selection_select_size (GtkTreeSelection *selection,
{
/* If the size was selected by the user we set the selected_size. */
fontsel->size = new_size;
sprintf (buffer, "%i", fontsel->size / PANGO_SCALE);
gtk_entry_set_text (GTK_ENTRY (fontsel->size_entry), buffer);
gtk_font_selection_load_font (fontsel);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment