Re: gtk.gdk.threads_init and paste

From: Daniel Carvalho <idnael_at_gmail.com>
Date: Mon Feb 16 2009 - 12:48:43 CET

2009/2/16 Tomeu Vizoso <tomeu@sugarlabs.org>:
> On Mon, Feb 16, 2009 at 12:25, Daniel Carvalho <idnael@gmail.com> wrote:
>>
>> hello
>>
>> if I enable multiple threads in pygtk (using the gtk.gdk.threads_init
>> function), there is a problem when I paste to the abiword widget. The
>> program stops responding.
>>
>> This happens if the program calls the abiwordCanvas paste function or
>> if the user press the shift-insert key inside the editor.
>>
>> I'm using:
>> Ubuntu 8.10
>> Kernel 2.6.27-11-generic
>> python-gtk2-2.13.0
>> pyabiword-0.6.1
>> abiword-2.6.4
>>
>> Any idea?
>
> Already tried calling gtk.gdk.threads_init() just after importing gtk
> and before importing abiword?
>

yes

it's the same thing
Received on Mon Feb 16 12:53:23 2009

This archive was generated by hypermail 2.1.8 : Mon Feb 16 2009 - 12:53:23 CET