Mercurial > pidgin.yaz
changeset 11714:c828b5d08c91
[gaim-migrate @ 14005]
Fix for unloading and re-loading the docklet plugin so that closing the
buddy list will still minimize to the tray, and connect to the
account-status-changed signal instead of the (now gone) account-away one.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 22 Oct 2005 14:30:45 +0000 |
parents | 2aa3211ef3e2 |
children | 5f904b7c3558 |
files | plugins/docklet/docklet.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/docklet/docklet.c Sat Oct 22 14:08:57 2005 +0000 +++ b/plugins/docklet/docklet.c Sat Oct 22 14:30:45 2005 +0000 @@ -496,7 +496,7 @@ plugin, GAIM_CALLBACK(docklet_signed_off_cb), NULL); gaim_signal_connect(accounts_handle, "account-connecting", plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); - gaim_signal_connect(accounts_handle, "account-away", + gaim_signal_connect(accounts_handle, "account-status-changed", plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); gaim_signal_connect(conv_handle, "received-im-msg", plugin, GAIM_CALLBACK(docklet_update_status_cb), NULL); @@ -532,6 +532,7 @@ gaim_signals_disconnect_by_handle(handle); if(gtkblist_delete_cb_id!=0) g_signal_handler_disconnect(G_OBJECT(gtkblist->window), gtkblist_delete_cb_id); + gtkblist_delete_cb_id = 0; unminimize_from_tray();