Re: [Deskbar] latest cvs
- From: Nigel Tao <nigel tao myrealbox com>
 
- To: deskbar-applet-list gnome org
 
- Subject: Re: [Deskbar] latest cvs
 
- Date: Mon, 17 Oct 2005 08:11:38 +1000
 
On Sun, 2005-10-16 at 20:47 +0200, Raphael Slinckx wrote:
> Nigel, removing the threads fixed automagically the global hotkey
> binding.
Yeah... I looked at that yesterday, but by the time I figured that out,
bugzilla.gnome.org was down (in fact, I think *.gnome.org was down).  I
think what was happening was that the keybinding event (being an X
thing, not a GTK thing) was not in the right glib thread, and thus the
callback either crashed or if you tried to enter the gdk thread,
deadlocked (for some reason I had yet to nail down).  I putzed around
with g_idle callbacks for a bit but didn't get to a solution.  There's a
Python "Global Interpreter Lock" that also may or may not have mattered.
My head spun after reading about all this threading stuff.  But, if we
don't need 'em, then that's a lot easier.  :)
BTW, I don't think that contact-lookup-applet uses threads, and (from my
skimming of it) it does async population of an entry completion from
evolution-data-server callbacks.  Might be worth checking out (from CVS,
haha :).
Nigel.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]