How to manipulate status on a prpl with NULL status IDs?

Richard Laager rlaager at wiktel.com
Thu Jan 15 23:52:02 EST 2009


On Thu, 2009-01-15 at 17:15 -0500, Evan Schoenberg wrote:
> What's a UI to do?

I'm no status guru, but purple_status_type_new_with_attrs() calls
purple_status_type_new_full(). It includes this code:

        if (id != NULL)
                status_type->id = g_strdup(id);
        else
                status_type->id = g_strdup(purple_primitive_get_id_from_type(primitive));

I would suggest trying the ID of the underlying primitive. Hopefully
that'll work.

Richard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://pidgin.im/pipermail/devel/attachments/20090115/dc394071/attachment.sig>


More information about the Devel mailing list