howto check if a conversation window is active (on a regular base)

Daniel Atallah daniel.atallah at
Tue Jul 15 22:25:28 EDT 2008

On Tue, Jul 8, 2008 at 8:50 AM, suckme2000 at <suckme2000 at> wrote:
> Hi there!
> I am writing on a plug-in and i need to check if a conversation is still
> not active or if it has become active again.
> For example,
> A writes to B , but B is doing something else
> While B is doing something else, not paying any attention to the
> conversation.
> The plugin should continuesly do something, for example send an audio
> signal *beep* until B activates the conversation.
> Is there any signal that i can check for, with
> purple_signal_connect(...) or any other way to that ?
> It would be nice if anybody could answer my question.

If you look at how the System Tray Icon determines if there are
pending messages, that should be a way to accomplish what you're
describing above.


More information about the Devel mailing list