Removed apparently annoying mis-behaviour of font-size entry in GdynText

Scream if this hurts. (for swh@ecs)
This commit is contained in:
Nick Lamb /GIMP 2000-02-07 17:39:41 +00:00
parent ce6050ad5f
commit fbf464bea0
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Mon Feb 7 17:37:40 GMT 2000 Nick Lamb <njl195@zepler.org.uk>
* plug-ins/gdyntext/font_selection.c:
Removed apparently annoying mis-behaviour of font-size entry
Scream if this hurts. (for swh@ecs)
Mon Feb 7 13:41:08 CET 2000 Stanislav Brabec <utx@penguin.cz>
* plug-ins/gflare/gflare.c: Typo fix.

View File

@ -279,7 +279,10 @@ void on_font_selection_value_changed(GtkWidget *widget, gpointer data)
}
gtk_entry_set_position(GTK_ENTRY(GTK_COMBO(fs->font_family)->entry), 0);
gtk_entry_set_position(GTK_ENTRY(GTK_COMBO(fs->font_style)->entry), 0);
/* If we do this for the font_size then it's difficult/ annoying to
erase characters from that entry widget, which IMHO is a bug
gtk_entry_set_position(GTK_ENTRY(&GTK_SPIN_BUTTON(fs->font_size)->entry), 0);
*/
gtk_entry_set_position(GTK_ENTRY(GTK_COMBO(fs->font_metric)->entry), 0);
gdk_error_warnings = 0;