Getting the BuddyIcon using python and dbus?

René Perschon chummer_rene at gmx.net
Tue Apr 24 16:06:23 EDT 2012


Hi!

I've been following this guide here 
http://developer.pidgin.im/wiki/DbusHowto#CallingPidginmethods to 
integrate pidgin in my littly python script via dbus. Now i'd like to 
display the buddy icons next to the buddies but 
PurpleBuddyGetIcon(buddy) only returns an int32. what am i supposed to 
do with that? how do i get the image path out of it? i know there are 
buddy icons stored in ~/.purple/icons but they have hash-like file names 
and i don't know how those are associated with the contacts.

Any help would be greatly appreciated!
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/support/attachments/20120424/6ec16b0f/attachment-0002.html>


More information about the Support mailing list