Mercurial > pidgin
comparison src/account.c @ 5842:dbed8c87f750
[gaim-migrate @ 6273]
Another reason not to use CVS.
This saves your buddy icons to the OSCAR servers (I hope). It's not fully
tested and it may screw things up, but I wanted to get it in CVS so other people
can try to break this, and KingAnt can review my work (that libfaim wizard that
he is.) Don't use CVS.
I'd like to thank Christian Hammond, for his work on the account and prpl APIs
that made it so easy to add the hook into buddy icon changing. I'd like to thank
Mark Doliner for laying most of the groundwork and for his kind words of encouragement.
I'd like to thank myself for making the buddy icon selector real sexy-like. I'd like
to thank the Lord almighty for giving me the strength to do this.
I promised myself I wouldn't cry. I never imagined I'd be committing this.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 12 Jun 2003 22:19:07 +0000 |
parents | 5e93fc46d1af |
children | 412c5a0f9ef1 |
comparison
equal
deleted
inserted
replaced
5841:eeb72d03e189 | 5842:dbed8c87f750 |
---|---|
247 | 247 |
248 if (account->buddy_icon != NULL) | 248 if (account->buddy_icon != NULL) |
249 g_free(account->buddy_icon); | 249 g_free(account->buddy_icon); |
250 | 250 |
251 account->buddy_icon = (icon == NULL ? NULL : g_strdup(icon)); | 251 account->buddy_icon = (icon == NULL ? NULL : g_strdup(icon)); |
252 | 252 if (account->gc) |
253 serv_set_buddyicon(account->gc, icon); | |
254 | |
253 schedule_accounts_save(); | 255 schedule_accounts_save(); |
254 } | 256 } |
255 | 257 |
256 void | 258 void |
257 gaim_account_set_protocol(GaimAccount *account, GaimProtocol protocol) | 259 gaim_account_set_protocol(GaimAccount *account, GaimProtocol protocol) |