aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2001-10-07 01:27:37 +0800
committerLarry Ewing <lewing@src.gnome.org>2001-10-07 01:27:37 +0800
commit3b74bfce983c7dd121bd2a66c2b760dee0ee1625 (patch)
treea04cbb656517167217084526fb9f59abb0919e10 /widgets
parent5bf99a3707ed456ab957fe6ae359f24d1371e8bc (diff)
downloadgsoc2013-evolution-3b74bfce983c7dd121bd2a66c2b760dee0ee1625.tar.gz
gsoc2013-evolution-3b74bfce983c7dd121bd2a66c2b760dee0ee1625.tar.zst
gsoc2013-evolution-3b74bfce983c7dd121bd2a66c2b760dee0ee1625.zip
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
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-unicode.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c
index a0101af3d3..3e3344d37c 100644
--- a/widgets/misc/e-unicode.c
+++ b/widgets/misc/e-unicode.c
@@ -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);