Mercurial > pidgin.yaz
comparison src/blist.c @ 11494:3314953511de
[gaim-migrate @ 13738]
Some whitespace changes, from my editor. Perhaps I should add it to the
COPYRIGHT file?
Also, sadrul writes:
Hello.
The icon in the conversation-tabs don't alway change
when the status of a buddy changes. This patch fixes that.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Sat, 10 Sep 2005 20:41:20 +0000 |
parents | 201617d49573 |
children | 8d0a2b6c192b |
comparison
equal
deleted
inserted
replaced
11493:3fe6b56a39cc | 11494:3314953511de |
---|---|
747 gaim_blist_update_buddy_status(GaimBuddy *buddy, GaimStatus *old_status) | 747 gaim_blist_update_buddy_status(GaimBuddy *buddy, GaimStatus *old_status) |
748 { | 748 { |
749 GaimBlistUiOps *ops = gaimbuddylist->ui_ops; | 749 GaimBlistUiOps *ops = gaimbuddylist->ui_ops; |
750 GaimPresence *presence; | 750 GaimPresence *presence; |
751 GaimStatus *status; | 751 GaimStatus *status; |
752 GaimConversation *conv; | |
752 | 753 |
753 g_return_if_fail(buddy != NULL); | 754 g_return_if_fail(buddy != NULL); |
754 | 755 |
755 presence = gaim_buddy_get_presence(buddy); | 756 presence = gaim_buddy_get_presence(buddy); |
756 status = gaim_presence_get_active_status(presence); | 757 status = gaim_presence_get_active_status(presence); |
803 * certainly won't hurt anything. Unless you're on a K6-2 300. | 804 * certainly won't hurt anything. Unless you're on a K6-2 300. |
804 */ | 805 */ |
805 gaim_contact_invalidate_priority_buddy(gaim_buddy_get_contact(buddy)); | 806 gaim_contact_invalidate_priority_buddy(gaim_buddy_get_contact(buddy)); |
806 if (ops && ops->update) | 807 if (ops && ops->update) |
807 ops->update(gaimbuddylist, (GaimBlistNode *)buddy); | 808 ops->update(gaimbuddylist, (GaimBlistNode *)buddy); |
809 | |
810 if ((conv = gaim_find_conversation_with_account(GAIM_CONV_IM, buddy->name, buddy->account))) | |
811 gaim_conversation_update(conv, GAIM_CONV_UPDATE_AWAY); | |
808 } | 812 } |
809 | 813 |
810 void gaim_blist_update_buddy_icon(GaimBuddy *buddy) | 814 void gaim_blist_update_buddy_icon(GaimBuddy *buddy) |
811 { | 815 { |
812 GaimBlistUiOps *ops = gaimbuddylist->ui_ops; | 816 GaimBlistUiOps *ops = gaimbuddylist->ui_ops; |