Mercurial > pidgin
changeset 1164:ed5bb86253c6
[gaim-migrate @ 1174]
bah
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 28 Nov 2000 17:42:59 +0000 |
parents | 8f70ecf3e884 |
children | 3daec853f3c6 |
files | src/buddy.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Tue Nov 28 16:49:53 2000 +0000 +++ b/src/buddy.c Tue Nov 28 17:42:59 2000 +0000 @@ -1800,6 +1800,8 @@ gs = new_group_show(g->name); if ((bs = find_buddy_show(gs, b->name)) == NULL) bs = new_buddy_show(gs, b, (char **)login_icon_xpm); + if (!g_slist_find(bs->connlist, gc)) + bs->connlist = g_slist_append(bs->connlist, gc); if (b->present == 1) { play_sound(BUDDY_ARRIVE); pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm, @@ -1814,10 +1816,6 @@ gdk_pixmap_unref(pm); gdk_bitmap_unref(bm); b->present = 2; - if (!g_slist_find(bs->connlist, gc)) - bs->connlist = g_slist_append(bs->connlist, gc); - else - debug_printf("already got signon for %s from %s\n", b->name, gc->username); if (bs->log_timer > 0) gtk_timeout_remove(bs->log_timer); bs->log_timer = gtk_timeout_add(10000, (GtkFunction)log_timeout, bs);