[pygtk] fix for segfault in PyGdkWindow_PropertyChange

2000-03-06 Thread Charles G Waldman
Trying to set a property with format != 8 was giving me repeatable core dumps; I took a look in gtkmodule.c and found the problem pretty quickly. Here's a patch against pygtk-0.6.4: --- gtkmodule.c~Wed Feb 16 08:57:02 2000 +++ gtkmodule.c Mon Mar 6 19:50:07 2000 @@ -1551,7 +1551,7 @@

Re: [pygtk] PyGnomeHello and internationalization

2000-03-06 Thread Hassan Aurag
Hi, I hate my GMath_install.py even though it does the job. And yes I'd love to have a way to respect the gnome standard. But how to use autogen.sh or Makefiles with python is beyong me for now. So yes I'd love to see something on this in your tutorial. This is especially important if we w

Re: [pygtk] PyGnomeHello and internationalization

2000-03-06 Thread James Henstridge
There is a gettext module included with gnome-python. It is fairly similar to the C API, but has some problems with big endian architectures at the moment (this will be fixed). You can use it like so: import gettext _ = gettext.gettext gettext.bindtextdomain("translation-domain", "/usr/s