Mercurial > pidgin
comparison src/blist.c @ 13889:085b15c33ca4
[gaim-migrate @ 16370]
Merging r16220 through 16367 from blist-efficiency branch into trunk.
committer: Tailor Script <tailor@pidgin.im>
author | Aaron Sheldon <aaronsheldon> |
---|---|
date | Wed, 28 Jun 2006 19:42:20 +0000 |
parents | a092ea4edd4e |
children | 8bda65b88e49 |
comparison
equal
deleted
inserted
replaced
13888:9d66969a2e32 | 13889:085b15c33ca4 |
---|---|
730 } | 730 } |
731 | 731 |
732 GaimBlistNode *gaim_blist_node_next(GaimBlistNode *node, gboolean offline) | 732 GaimBlistNode *gaim_blist_node_next(GaimBlistNode *node, gboolean offline) |
733 { | 733 { |
734 GaimBlistNode *ret = node; | 734 GaimBlistNode *ret = node; |
735 | 735 |
736 if (offline) | |
737 return get_next_node(ret, TRUE); | |
736 do | 738 do |
737 { | 739 { |
738 ret = get_next_node(ret, TRUE); | 740 ret = get_next_node(ret, TRUE); |
739 } while (ret && !offline && GAIM_BLIST_NODE_IS_BUDDY(ret) && | 741 } while (ret && GAIM_BLIST_NODE_IS_BUDDY(ret) && |
740 !gaim_account_is_connected(gaim_buddy_get_account((GaimBuddy *)ret))); | 742 !gaim_account_is_connected(gaim_buddy_get_account((GaimBuddy *)ret))); |
741 | 743 |
742 return ret; | 744 return ret; |
743 } | 745 } |
744 | 746 |
745 void | 747 void |
746 gaim_blist_update_buddy_status(GaimBuddy *buddy, GaimStatus *old_status) | 748 gaim_blist_update_buddy_status(GaimBuddy *buddy, GaimStatus *old_status) |