How to send IM message through D-BUS without forking UI up

Sam Lin itrs.lin at gmail.com
Fri Sep 5 06:12:52 EDT 2008


Hi All,

I can use python-dbus to send IM message through D-BUS.
ex.

...

conversation = purple.PurpleConversationNew(1,acc,"foo at bar <http://pidgin.im/cgi-bin/mailman/listinfo/devel>")
im = purple.PurpleConversationGetImData(conversation)
purple.PurpleConvImSend(im,"hi")

But the call purple.PurpleConversationNew () will fork pidgin dialog UI up.
Is there any way to send IM message through D-BUS without forking UI up ?

Thanks,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20080905/b1c35c1e/attachment.html>


More information about the Devel mailing list