]> Pileus Git - ~andy/gtk/commit
Merge from 2.10 branch:
authorTor Lillqvist <tml@novell.com>
Tue, 10 Oct 2006 21:51:11 +0000 (21:51 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 10 Oct 2006 21:51:11 +0000 (21:51 +0000)
commitdcf4f2ef1e083443c8fe1069b21c0aa0c44e1237
tree2bca7797c686414d340cd8a613af84aa652df637
parentac1c7a0680e21e7771f520d549d32dfb9e6eaa92
Merge from 2.10 branch:

2006-10-11  Tor Lillqvist  <tml@novell.com>

Merge from 2.10 branch:

* gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
environment variable LC_ALL or LANG is set, set the Win32 thread
locale to the corresponding locale. Then call the C library
setlocale() to set the C library locale accordingly. The
inconsistency mentioned below is gone. (#339756) Do some special
casing for Serbia and Montenegro. Handle the Latin and Cyrillic
scripts for Azeri, Uzbek and Serbian.
(enum_locale_proc): Helper function for the above functionality.

* gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
if the environment variables are set here, as they have already
been taken into account and the Win32 thread locale has been
set.
ChangeLog
gtk/gtkcalendar.c
gtk/gtkmain.c