| 19 |
19 |
| 20 gaim_conversation_write(conv, NULL, buf, -1, WFLAG_SYSTEM, time(NULL)); |
20 gaim_conversation_write(conv, NULL, buf, -1, WFLAG_SYSTEM, time(NULL)); |
| 21 } |
21 } |
| 22 |
22 |
| 23 static void |
23 static void |
| 24 buddy_away_cb(struct gaim_connection *gc, char *who, void *data) |
24 buddy_away_cb(GaimConnection *gc, char *who, void *data) |
| 25 { |
25 { |
| 26 write_status(gc, who, "has gone away."); |
26 write_status(gc, who, "has gone away."); |
| 27 } |
27 } |
| 28 |
28 |
| 29 static void |
29 static void |
| 30 buddy_unaway_cb(struct gaim_connection *gc, char *who, void *data) |
30 buddy_unaway_cb(GaimConnection *gc, char *who, void *data) |
| 31 { |
31 { |
| 32 write_status(gc, who, "is no longer away."); |
32 write_status(gc, who, "is no longer away."); |
| 33 } |
33 } |
| 34 |
34 |
| 35 static void |
35 static void |
| 36 buddy_idle_cb(struct gaim_connection *gc, char *who, void *data) |
36 buddy_idle_cb(GaimConnection *gc, char *who, void *data) |
| 37 { |
37 { |
| 38 write_status(gc, who, "has become idle."); |
38 write_status(gc, who, "has become idle."); |
| 39 } |
39 } |
| 40 |
40 |
| 41 static void |
41 static void |
| 42 buddy_unidle_cb(struct gaim_connection *gc, char *who, void *data) |
42 buddy_unidle_cb(GaimConnection *gc, char *who, void *data) |
| 43 { |
43 { |
| 44 write_status(gc, who, "is no longer idle."); |
44 write_status(gc, who, "is no longer idle."); |
| 45 } |
45 } |
| 46 |
46 |
| 47 static gboolean |
47 static gboolean |