Mercurial > pidgin
comparison src/server.c @ 1140:249b040f6a83
[gaim-migrate @ 1150]
Pounce stuff is working now.
It still doesnt use the "per connection" info. Im just playing with the UI right now.
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Mon, 27 Nov 2000 01:00:09 +0000 |
| parents | d7944415b1cc |
| children | cd96ca1aed02 |
comparison
equal
deleted
inserted
replaced
| 1139:ce935e673907 | 1140:249b040f6a83 |
|---|---|
| 449 /* okay lets save the new config... */ | 449 /* okay lets save the new config... */ |
| 450 | 450 |
| 451 } | 451 } |
| 452 | 452 |
| 453 if (!b->idle && idle) plugin_event(event_buddy_idle, gc, b->name, 0, 0); | 453 if (!b->idle && idle) plugin_event(event_buddy_idle, gc, b->name, 0, 0); |
| 454 if (b->idle && !idle) plugin_event(event_buddy_unidle, gc, b->name, 0, 0); | 454 if (b->idle && !idle) { |
| 455 do_pounce(b->name); | |
| 456 plugin_event(event_buddy_unidle, gc, b->name, 0, 0); | |
| 457 } | |
| 455 | 458 |
| 456 b->idle = idle; | 459 b->idle = idle; |
| 457 b->evil = evil; | 460 b->evil = evil; |
| 458 | 461 |
| 459 if ((b->uc & UC_UNAVAILABLE) && !(type & UC_UNAVAILABLE)) { | 462 if ((b->uc & UC_UNAVAILABLE) && !(type & UC_UNAVAILABLE)) { |
| 463 do_pounce(b->name); | |
| 460 plugin_event(event_buddy_back, gc, b->name, 0, 0); | 464 plugin_event(event_buddy_back, gc, b->name, 0, 0); |
| 461 } else if (!(b->uc & UC_UNAVAILABLE) && (type & UC_UNAVAILABLE)) { | 465 } else if (!(b->uc & UC_UNAVAILABLE) && (type & UC_UNAVAILABLE)) { |
| 462 plugin_event(event_buddy_away, gc, b->name, 0, 0); | 466 plugin_event(event_buddy_away, gc, b->name, 0, 0); |
| 463 } | 467 } |
| 464 | 468 |
