What are the status change signal names?

SuperMMX supermmx at gmail.com
Tue Oct 9 05:14:52 EDT 2007


Hi, "Vishal Rao" <vishalrao at gmail.com> :

On Tue, 9 Oct 2007 14:17:26 +0530
"Vishal Rao" <vishalrao at gmail.com> wrote:

> Hello,
> 
> I'm writing a "web aware" libpurple plugin and am able to connect to
> the "signed-on" and "signed-off" connection signals.
> 
> I would like to also connect to any "status change" signals but don't
> know what the names are, I tried "savedstatus-changed" but that does
> not seem to fire when I set my status from "Available" to "Away" and
> so on...
> 
> Any pointers?

A simple "grep -Hn signal_register" shows 

libpurple/blist.c:2684:        purple_signal_register(handle, "buddy-status-changed",

I think it is exactly what you want. 

> Basically I want the plugin to upload current IM status to FTP and
> local directories so that I can display it on my webpage. See
> lahsiv.net/code for the first cut based on helloworld.c  :-)
> 
> Thanks,
> Vishal


-- 
A. Because it makes the logic of the discussion difficult to follow.
Q. Why shoudn't I top post?
A. No.
Q Should I top post?

A: Because it destroys the flow of the conversation
Q: Why is it bad?
A: No, it's bad.
Q: Should I top post in replies to mailing lists? 




More information about the Devel mailing list