On Sun, 2005-17-04 at 15:08 +0200, LÃszlà Monda wrote:
> I'd like to send you another example (actually it's the third one, so
> don't hit me, please ;) to demonstrate an even more problematic
> situation with threading. I've implemented this example a week ago or
> so with your dispatcher too, but that didn't work either.
> The expected behaviour is that when one clicks on the button, the
> progress bar should show up in the VBox and pulse while DoThread fills
> up the TreeStore, then show up the TreeView in the same position.
>
> When you press the button for the first time, it works magically. But
> when you try it after that, it freezes the application. I think I used
> threads_enter() and threads_leave() according to the golden rules so I
> don't really get what's wrong.
>
> My guess would be some glade bug. The other possible reason is probably
> that I'm just plain stupid and messed up something very hard.
>
> Any ideas?
>
It works here on my system, only glitch is a white box smaller than the
target shows briefly during the transition.
my system currently: gentoo x86, 32bit (the -r1 in the package versions
are gentoo ebuild revisions)
gtk+-2.6.4-r1, has this patch applied
# fix #86979 bmp_reject_corrupt.patch
pygtk-2.6.1
python-2.3.4-r1 with all these patches:
sed -ie 's/OpenBSD\/3.\[01234/OpenBSD\/3.\[012345/' configure || die
"OpenBSD sed failed"
#Fixes security vulnerability in XML-RPC server - pythonhead (06 Feb 05)
#http://www.python.org/security/PSF-2005-001/
epatch ${FILESDIR}/${PN}-2.3-xmlrpc.patch
# adds /usr/lib/portage/pym to sys.path - liquidx (08 Oct 03)
# prepends /usr/lib/portage/pym to sys.path - liquidx (12 Apr 04)
epatch ${FILESDIR}/${PN}-2.3-add_portage_search_path_take_2.patch
# adds support for PYTHON_DONTCOMPILE shell environment to
# supress automatic generation of .pyc and .pyo files - liquidx (08 Oct
03)
epatch ${FILESDIR}/${PN}-2.3-gentoo_py_dontcompile.patch
epatch ${FILESDIR}/${PN}-2.3.2-disable_modules_and_ssl.patch
epatch ${FILESDIR}/${PN}-2.3-mimetypes_apache.patch
epatch ${FILESDIR}/${PN}-2.3-db4.2.patch
# installs to lib64
[ "${CONF_LIBDIR}" == "lib64" ] && epatch
${FILESDIR}/python-2.3.4-lib64.patch
# fix os.utime() on hppa. utimes it not supported but unfortunately
reported as working - gmsoft (22 May 04)
[ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i ${S}/configure
--
Brian <[EMAIL PROTECTED]>
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/