comparison src/gtkblist.c @ 9113:ed084150a8ef

[gaim-migrate @ 9890] Emit the buddy-idle-updated signal when we update idle times. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 28 May 2004 07:11:13 +0000
parents 826013efffcb
children 7dc10a14c568
comparison
equal deleted inserted replaced
9112:e46a845a573c 9113:ed084150a8ef
3538 imin = ((t - buddy->idle) / 60) % 60; 3538 imin = ((t - buddy->idle) / 60) % 60;
3539 if(ihrs > 0) 3539 if(ihrs > 0)
3540 idle = g_strdup_printf("(%d:%02d)", ihrs, imin); 3540 idle = g_strdup_printf("(%d:%02d)", ihrs, imin);
3541 else 3541 else
3542 idle = g_strdup_printf("(%d)", imin); 3542 idle = g_strdup_printf("(%d)", imin);
3543
3544 gaim_signal_emit(gaim_blist_get_handle(), "buddy-idle-updated", buddy);
3543 } 3545 }
3544 3546
3545 if (buddy->evil > 0) 3547 if (buddy->evil > 0)
3546 warning = g_strdup_printf("%d%%", buddy->evil); 3548 warning = g_strdup_printf("%d%%", buddy->evil);
3547 3549