Mercurial > pidgin.yaz
comparison plugins/docklet/docklet.c @ 7118:bf630f7dfdcd
[gaim-migrate @ 7685]
Here's a commit that I think will make faceprint happy. GaimWindow ->
GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat,
GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin
authors are going to hunt me down and murder me. I can feel it..
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 02 Oct 2003 02:54:07 +0000 |
parents | bdd046deec7e |
children | dc80d4e5c3b0 |
comparison
equal
deleted
inserted
replaced
7117:943085b0ff8b | 7118:bf630f7dfdcd |
---|---|
374 /* we only support global away. this is the way it is, ok? */ | 374 /* we only support global away. this is the way it is, ok? */ |
375 docklet_update_status(); | 375 docklet_update_status(); |
376 } | 376 } |
377 | 377 |
378 static gboolean | 378 static gboolean |
379 gaim_im_recv(GaimAccount *account, GaimConversation *conv, char **who, | 379 gaim_conv_im_recv(GaimAccount *account, GaimConversation *conv, char **who, |
380 char **what, int *flags, void *data) | 380 char **what, int *flags, void *data) |
381 { | 381 { |
382 /* if message queuing while away is enabled, this event could be the first | 382 /* if message queuing while away is enabled, this event could be the first |
383 message so we need to see if the status (and hence icon) needs changing. | 383 message so we need to see if the status (and hence icon) needs changing. |
384 do this when idle so that all message processing is completed, queuing | 384 do this when idle so that all message processing is completed, queuing |
434 gaim_signal_connect(accounts_handle, "account-connecting", | 434 gaim_signal_connect(accounts_handle, "account-connecting", |
435 plugin, GAIM_CALLBACK(gaim_connecting), NULL); | 435 plugin, GAIM_CALLBACK(gaim_connecting), NULL); |
436 gaim_signal_connect(accounts_handle, "account-away", | 436 gaim_signal_connect(accounts_handle, "account-away", |
437 plugin, GAIM_CALLBACK(gaim_away), NULL); | 437 plugin, GAIM_CALLBACK(gaim_away), NULL); |
438 gaim_signal_connect(conv_handle, "received-im-msg", | 438 gaim_signal_connect(conv_handle, "received-im-msg", |
439 plugin, GAIM_CALLBACK(gaim_im_recv), NULL); | 439 plugin, GAIM_CALLBACK(gaim_conv_im_recv), NULL); |
440 gaim_signal_connect(conv_handle, "conversation-created", | 440 gaim_signal_connect(conv_handle, "conversation-created", |
441 plugin, GAIM_CALLBACK(gaim_new_conversation), NULL); | 441 plugin, GAIM_CALLBACK(gaim_new_conversation), NULL); |
442 | 442 |
443 /* gaim_signal_connect(plugin, event_buddy_signon, gaim_buddy_signon, NULL); | 443 /* gaim_signal_connect(plugin, event_buddy_signon, gaim_buddy_signon, NULL); |
444 gaim_signal_connect(plugin, event_buddy_signoff, gaim_buddy_signoff, NULL); | 444 gaim_signal_connect(plugin, event_buddy_signoff, gaim_buddy_signoff, NULL); |