Autochange Buddy Icon

Matteo Landi matteo.landi at email.it
Tue Jan 22 18:38:56 EST 2008


Hi all 
i'm trying to develope a simple plugin that ask the user for a path,
and 
every 10secs (it could be dynamically set), change the buddy icon! 

1) the first approach was to modify the config file located in 
~/.purple; no usefull solution; in fact i imagine that the file is used 
@ startup, so changing something inside of it, will not generate any 
change! 

2) so i decided to take a look at the pidgin source, and maybe i found 
the function i gotta use: 
purple_account_set_buddy_icon_path(PurpleAccount *account, const char 
*path)! Is this the correct function? If so, i have also to find the 
current account id isn't it? 

Tell me if i'm missing something 
Best Regards 
M@




More information about the Devel mailing list