W3C home > Mailing lists > Public > www-amaya-dev@w3.org > November 2002

gtk_set_locale

From: Atsuhiko Yamanaka <ymnk@jcraft.com>
Date: Tue, 26 Nov 2002 11:16:47 +0900
Message-Id: <200211260216.LAA06548@jcraft.com>
To: www-amaya-dev@w3.org

Hi,

To enable XIM for GTK-Amaya, 'ENABLE_MUTKIKEY' must be setted
to 'yes'.  This problem has come from the fact that 
'gtk_set_locale' is not called by the default.
I think almost all gtk-based programs, which care for I18N,
have called 'gtk_set_locale' by the default.
Is it a bad idea to call 'gtk_set_locale' by the default?

FYI, the current GTK-Amaya calls 'gtk_set_locale' in 
'thotlib/dialogue/dialogapi.c' by checking the variable
'ENABLE_MUTKIKEY'.

I mean that how about commenting out following two lines?
/*
ptr = TtaGetEnvString("ENABLE_MUKTIKEY");
if (ptr && !strcasecmp (ptr, "yes"))
*/
  gtk_set_locale ();


Thanks,
--
ymnk
Received on Monday, 25 November 2002 21:15:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:48 UTC