[gq-commit] gq/src gq.c,1.15,1.16
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-01 22:32:02
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv32699 Modified Files: gq.c Log Message: * Support for transparent conversion of i18n messages to UTF-8 Index: gq.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/gq.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** gq.c 28 Sep 2003 23:10:50 -0000 1.15 --- gq.c 1 Oct 2003 22:31:57 -0000 1.16 *************** *** 82,89 **** bindtextdomain(PACKAGE, LOCALEDIR); ! /* I think the following will be required for gtk 2 (Isn't UTF-8 ! the standard for widget texts there? - this will allow to have ! the messages in UTF-8) */ ! /* bind_textdomain_codeset(PACKAGE, LDAP_CODESET); */ gtk_set_locale(); --- 82,89 ---- bindtextdomain(PACKAGE, LOCALEDIR); ! ! #if GTK_MAJOR >= 2 ! bind_textdomain_codeset(PACKAGE, "UTF-8"); ! #endif gtk_set_locale(); |