Clear conversation window from a protocol prpl
Paul Aurich
paul at darkrain42.org
Wed Jul 21 15:50:06 EDT 2010
On 2010-07-16 04:59, avictor.za at gmail.com wrote:
> hi,
>
> Is it possible to clear a Pidgin conversation window from a protocol prpl?
> (as-if the user performed a Conversation -> Clear Scrollback)
>
> I see there is a function purple_conversation_clear_message_history(),
> but that doesn't do it.
I didn't look too closely at this API (I've never noticed it before),
but it looks like it clears a libpurple-only copy of the message history
(Sadrul indicates it's planned to be used in 3.0.0+).
I wonder if (as a 2.8.0 change), _clear_message_history() should also
emit a signal that the UI could use to clear its scrollback history.
Does anyone think clearing the visual scrollback and libpurple history
should be de-coupled?
~Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://pidgin.im/pipermail/devel/attachments/20100721/6e4f68fd/attachment.sig>
More information about the Devel
mailing list