Sat, 15 Apr 2000 23:52:33 +0000
[gaim-migrate @ 131]
If buddy signs off, then signs on again before they get erased, it wouldn't
alert properly. Now it does.
| src/buddy.c | file | annotate | diff | comparison | revisions |
--- a/src/buddy.c Sat Apr 15 23:29:33 2000 +0000 +++ b/src/buddy.c Sat Apr 15 23:52:33 2000 +0000 @@ -1386,7 +1386,9 @@ - if (!GTK_WIDGET_VISIBLE(b->item)) { + /* this check should also depend on whether they left, + * and signed on again before they got erased */ + if (!GTK_WIDGET_VISIBLE(b->item) || b->present == 1) { #ifdef GAIM_PLUGINS GList *c = callbacks; struct gaim_callback *g; @@ -1403,6 +1405,7 @@ #endif play_sound(BUDDY_ARRIVE); + b->present = 2; who = g_malloc(sizeof(b->name) + 10); strcpy(who, b->name);