Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/plugins/docklet/docklet.c Wed Nov 09 02:37:48 2005 +0000 +++ b/plugins/docklet/docklet.c Wed Nov 09 02:54:22 2005 +0000 @@ -445,6 +445,8 @@ plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); gaim_signal_connect(conv_handle, "conversation-created", plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); + gaim_signal_connect(conv_handle, "deleting-conversation", + plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); gaim_signal_connect(conv_handle, "conversation-updated", plugin, GAIM_CALLBACK(docklet_conv_updated_cb), NULL);