Blocking conversations

Leandro Rodrigo Saad Cruz leandro.saad at gmail.com
Wed Aug 27 16:18:47 EDT 2008


Hi all. I'm new to pidgin.
I'm trying to create my first plugin. The plugin should block all
conversations with a contact based on some criteria.
How can I accomplish this?
I tried to hook a function to "writing-im-message" and return TRUE|FALSE.
but the message is sent anyway.
>>> purple_signal_connect(conversation, "writing-im-msg", plugin,
PURPLE_CALLBACK(filterMessage), NULL);

Am I using the wrong signal?

Also. How can I compile pidgin so that I can debug it inside eclipse.
Eclipse can't find the source files.
I tried to enable debugging with ./configure --enable-debug, but it doesn't
work for me.

Thanks for your help!
-- 
Leandro Rodrigo Saad Cruz
software developer - certified scrum master
:: scrum.com.br
:: db.apache.org/ojb
:: guara-framework.sf.net
:: xingu.sf.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20080827/29d2a969/attachment-0001.html>


More information about the Devel mailing list