[prev in list] [next in list] [prev in thread] [next in thread]
List: pidgin-devel
Subject: Re: received-im-msg signal - no conversation
From: Etan Reisner <pidgin () unreliablesource ! net>
Date: 2009-10-18 22:53:29
Message-ID: 20091018225329.GC1911 () aran
[Download RAW message or body]
On Fri, Sep 25, 2009 at 10:48:45AM +0200, mowsen wrote:
<snip>
> the problem now is, that $conv is empty. after sending a second
> message from the same sender $conv exists. how can i close the
> conversation right after the first received message?
received-im-msg fires before the conversation window is created on the
first message in a new conversation, you can use the gtkconv
displayed-im-msg signal to catch it later (though that will catch both
incoming and outgoing messages so you'll need to watch for that) or set up
a short timer to destroy the conversation after the signal has finished
being processed and libpurple has created the conversation.
> thanks alot,
> mowsen
-Etan
_______________________________________________
Devel mailing list
Devel@pidgin.im
http://pidgin.im/cgi-bin/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic