# HG changeset patch # User Eric Warmenhoven # Date 970655173 0 # Node ID f8de52dbd0cbc02d842fbf8f037e16978c8535a0 # Parent 2f64424bf3197dbc29642a13d54e91ef288d7b9e [gaim-migrate @ 955] hopefully this will fix some issues i've been having with disappearing rows in the buddy list. if this fucks things up for someone, let me know. committer: Tailor Script diff -r 2f64424bf319 -r f8de52dbd0cb src/buddy.c --- a/src/buddy.c Tue Oct 03 20:22:35 2000 +0000 +++ b/src/buddy.c Wed Oct 04 10:26:13 2000 +0000 @@ -210,7 +210,8 @@ if (b->present || !GTK_WIDGET_VISIBLE(b->item)) set_buddy(b); - if (b->present) count++; + if (b->present || GTK_WIDGET_VISIBLE(b->item)) + count++; mem = mem->next; } @@ -500,7 +501,7 @@ mem = delg->members; while (mem && !count) { b = (struct buddy *)mem->data; - if (b->present) count++; + if (b->present || GTK_WIDGET_VISIBLE(b->item)) count++; mem = mem->next; } if (!count && (display_options & OPT_DISP_NO_MT_GRP)) @@ -745,7 +746,7 @@ int count = 0; while (mem && !count) { bt = (struct buddy *)mem->data; - if (bt->present) count++; + if (bt->present || GTK_WIDGET_VISIBLE(b->item)) count++; mem = mem->next; } if (!count && (display_options & OPT_DISP_NO_MT_GRP)) @@ -1344,7 +1345,7 @@ mem = g->members; while (mem) { b = (struct buddy *)mem->data; - if (b->present) { + if (b->present || GTK_WIDGET_VISIBLE(b->item)) { count++; break; }