Mercurial > pidgin
comparison plugins/SIGNALS @ 1749:5bfc58c20e82
[gaim-migrate @ 1759]
patch from sean egan for event_set_info. why this would be necessary... i guess we'll see :)
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Wed, 25 Apr 2001 08:34:46 +0000 |
| parents | 96e93119268d |
| children | 08ac51210d09 |
comparison
equal
deleted
inserted
replaced
| 1748:2eec724fdbcd | 1749:5bfc58c20e82 |
|---|---|
| 20 event_chat_recv, | 20 event_chat_recv, |
| 21 event_chat_send, | 21 event_chat_send, |
| 22 event_warned, | 22 event_warned, |
| 23 event_error, | 23 event_error, |
| 24 event_quit, | 24 event_quit, |
| 25 event_new_conversation | 25 event_new_conversation, |
| 26 event_set_info | |
| 26 }; | 27 }; |
| 27 | 28 |
| 28 To add a signal handler, call the fuction gaim_signal_connect with the | 29 To add a signal handler, call the fuction gaim_signal_connect with the |
| 29 following arguments: | 30 following arguments: |
| 30 | 31 |
| 247 char *who | 248 char *who |
| 248 | 249 |
| 249 'who' is who the conversation is with. This gets called when a new | 250 'who' is who the conversation is with. This gets called when a new |
| 250 conversation window is created. You can use find_conversation(char *) | 251 conversation window is created. You can use find_conversation(char *) |
| 251 to then find the struct conversation * and modify those values. | 252 to then find the struct conversation * and modify those values. |
| 253 | |
| 254 event_set_info: | |
| 255 struct gaim_connection *gc, char *info | |
| 256 | |
| 257 Called when the user sends his profile to the server. 'info' is the | |
| 258 profile being sent. |
