Date: Thu, 6 Feb 2003 16:17:14 +1000 (VLAT) From: Dmitry Panov <redfox@Fluffy.Khv.RU> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47992: gtk12 apps don't pick up correct locale resources Message-ID: <200302060617.h166HEKt052754@Fluffy.Khv.RU.>
next in thread | raw e-mail | index | archive | help
>Number: 47992 >Category: ports >Synopsis: gtk12 apps don't pick up correct locale resources >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 23:00:18 PST 2003 >Closed-Date: >Last-Modified: >Originator: Dmitry Panov >Release: FreeBSD 4.7-STABLE i386 >Organization: Twilight Zone >Environment: System: FreeBSD Fluffy.Khv.RU 4.7-STABLE FreeBSD 4.7-STABLE #0: Wed Jan 22 06:54:04 VLAT 2003 root@Fluffy.Khv.RU:/usr/obj/usr/src/sys/FLUFFY i386 >Description: Lots of gtk12 apps don't pick up correct locale resources by default, because authors and gtk-team not cares about call setlocale() upon initialize app. Who cares about non-latin users? >How-To-Repeat: >Fix: Apply to ${PORTSDIR}/x11-toolkits/gtk12 Yes, it's a quick-and-dirty hack for unconditional setlocale() for all gtk12 world. diff -urN gtk+-1.2.10.orig/gtk/gtkmain.c gtk+-1.2.10/gtk/gtkmain.c --- gtk+-1.2.10.orig/gtk/gtkmain.c Wed Feb 28 04:29:58 2001 +++ gtk+-1.2.10/gtk/gtkmain.c Thu Feb 6 16:13:19 2003 @@ -468,6 +468,7 @@ void gtk_init (int *argc, char ***argv) { + gtk_set_locale(); if (!gtk_init_check (argc, argv)) { g_warning ("cannot open display: %s", gdk_get_display ()); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302060617.h166HEKt052754>