Does GAIM have any notification of presence state changes? If it does,
maybe you could connect to whatever signal is emitted when the presence
state changes, and update the presence in evolution in the callback.
That way you wouldn't be polling...

Have fun,

Peter

On Tue, 2003-11-25 at 14:05, Jørgen Fogh wrote:
> I'm working on the GAIM presence integration patch, and I'm wondering when I should 
> update the presence icon.
> Obviously, it should be done whenever the presence state changes, but I need to know 
> when I should check for this change.
> It seems to me that a timeout every sec. or so would do the job, but I'm worried 
> about using to much processortime.
> Anyone got an idea for doing this more efficiently?
> 
> -- Jørgen Fogh

_______________________________________________
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Reply via email to