comparison src/pounce.c @ 6444:601c2a52d74a

[gaim-migrate @ 6953] Some buddy pounce fixes from Kevin Stange. He says, "GAIM_TYPED = typing stopped event, GAIM_TYPING = typing started event (before it was GAIM_TYPED & GAIM_TYPING both were typing started). this also makes pounce sounds work (pounce file string error) and the start-typing event is now maintained when the pounce file is read on startup. that last one was another mistake with a string value in the pounces.xml file" committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 13 Aug 2003 06:05:03 +0000
parents 08672f5033a7
children 3cc4d5e55a69
comparison
equal deleted inserted replaced
6443:9e87b873df72 6444:601c2a52d74a
543 data->events |= GAIM_POUNCE_AWAY_RETURN; 543 data->events |= GAIM_POUNCE_AWAY_RETURN;
544 else if (!strcmp(data->event_type, "idle")) 544 else if (!strcmp(data->event_type, "idle"))
545 data->events |= GAIM_POUNCE_IDLE; 545 data->events |= GAIM_POUNCE_IDLE;
546 else if (!strcmp(data->event_type, "return-from-idle")) 546 else if (!strcmp(data->event_type, "return-from-idle"))
547 data->events |= GAIM_POUNCE_IDLE_RETURN; 547 data->events |= GAIM_POUNCE_IDLE_RETURN;
548 else if (!strcmp(data->event_type, "typing")) 548 else if (!strcmp(data->event_type, "start-typing"))
549 data->events |= GAIM_POUNCE_TYPING; 549 data->events |= GAIM_POUNCE_TYPING;
550 else if (!strcmp(data->event_type, "stop-typing")) 550 else if (!strcmp(data->event_type, "stop-typing"))
551 data->events |= GAIM_POUNCE_TYPING_STOPPED; 551 data->events |= GAIM_POUNCE_TYPING_STOPPED;
552 552
553 g_free(data->event_type); 553 g_free(data->event_type);