remove the test condition and always work form the locale not he the font.

2001-10-06  Larry Ewing  <lewing@ximian.com>

	* gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): remove the
	test condition and always work form the locale not he the font.
	This has been tested and verified with owen.

svn path=/trunk/; revision=13487
This commit is contained in:
Larry Ewing
2001-10-06 17:27:37 +00:00
committed by Larry Ewing
parent 5bf99a3707
commit 3b74bfce98

View File

@ -195,17 +195,7 @@ e_utf8_from_gtk_event_key (GtkWidget *widget, guint keyval, const gchar *string)
gint unilen;
if (keyval == GDK_VoidSymbol) {
char *use_locale = getenv ("E_UTF8_IM_USE_LOCALE");
/* FIXME This condition is meant for debugging xim input and should
* be removed once testing is done
*/
if (use_locale) {
utf = e_utf8_from_locale_string (string);
} else {
utf = e_utf8_from_gtk_string (widget, string);
}
utf = e_utf8_from_locale_string (string);
} else {
unival = gdk_keyval_to_unicode (keyval);