Re: Idle Function Not Getting Called

2009-09-15 Thread Chris Vine
On Mon, 14 Sep 2009 18:02:25 -0400 (EDT) Marshall Lake ml...@mlake.net wrote: I'll be a son-of-a-gun. Removing the gdk_* calls fixed the problem. It's something I should have known. The GDK global lock is difficult to use correctly. All GTK+ signal callbacks are entered holding the lock (as

Re: get list of available locales

2009-09-15 Thread Allin Cottrell
On Mon, 14 Sep 2009, Matthew Talbert wrote: In our GTK/GNOME application, our users would like the ability to use the program in a locale of their choice (out of the ~10 translations we have available) rather than detecting automatically which to use. (well, most users will be fine with

Re: get list of available locales

2009-09-15 Thread Matthew Talbert
We've implemented this sort of thing -- a language selector that lets you choose between 13 supported languages -- in gretl, another GTK app.  I'm not sure we're doing it in the best way, but it seems to work OK.  It's definitely fiddly work. To see what we did, look at gretl_intl.c, lines