d-bus and changing buddy icon
Fábio Roberto Teodoro
fr.teodoro at gmail.com
Wed Aug 24 18:08:59 EDT 2011
Daniel Hill <daniel.hill <at> orcon.net.nz> writes:
>
> I've been messing around trying to make a script in python which changes
> my buddy icon grabbing my album art from amarok,
> On the dbus how-to (http://developer.pidgin.im/wiki/DbusHowto)
> it has this function PurpleAccountSetBuddyIconPath(account, path)
> but I've tried this and nothing happens
> I've read through the source code and from what I've read it's anything
> but straight forward
> I would actually prefer to change the global buddy icon if that's possible
> form what I gather is that d-bus lacks the ability to change buddy icon,
> am I correct?
>
Do the following:
purple-remote
"PurplePrefsSetPath?name=/pidgin/accounts/buddyicon&value=/path/to/the/img"
It works! 8o)
More information about the Devel
mailing list