comparison plugins/docklet/docklet.c @ 12018:014c22dd9d06

[gaim-migrate @ 14311] Yet another docklet related patch from charkins. This one fixes the docklet flashing to stop if you close the conv. w/o reading the message. This changes the behavior of the "deleting-conversation" signal slightly - the conv. is removed from the conversations and ims or chats lists before emission instead of after. This is a wee bit strange, but doesn't seem like it'll have any ill effects. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 09 Nov 2005 02:54:22 +0000
parents 24c7fb94d3a3
children 1a86417abfc8
comparison
equal deleted inserted replaced
12017:2b6e0be024fb 12018:014c22dd9d06
443 plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); 443 plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL);
444 gaim_signal_connect(conv_handle, "received-im-msg", 444 gaim_signal_connect(conv_handle, "received-im-msg",
445 plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); 445 plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL);
446 gaim_signal_connect(conv_handle, "conversation-created", 446 gaim_signal_connect(conv_handle, "conversation-created",
447 plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); 447 plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL);
448 gaim_signal_connect(conv_handle, "deleting-conversation",
449 plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL);
448 gaim_signal_connect(conv_handle, "conversation-updated", 450 gaim_signal_connect(conv_handle, "conversation-updated",
449 plugin, GAIM_CALLBACK(docklet_conv_updated_cb), NULL); 451 plugin, GAIM_CALLBACK(docklet_conv_updated_cb), NULL);
450 452
451 gaim_signal_connect(core_handle, "quitting", 453 gaim_signal_connect(core_handle, "quitting",
452 plugin, GAIM_CALLBACK(gaim_quit_cb), NULL); 454 plugin, GAIM_CALLBACK(gaim_quit_cb), NULL);