diff src/prpl.c @ 11628:e1e47878d0ed

[gaim-migrate @ 13903] sadrul's patch, updated by charkins, to remove the old account-away signal and replace it with account-status-changed committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sat, 08 Oct 2005 19:27:13 +0000
parents 90be432e8385
children 11e95968c9ff
line wrap: on
line diff
--- a/src/prpl.c	Sat Oct 08 18:21:48 2005 +0000
+++ b/src/prpl.c	Sat Oct 08 19:27:13 2005 +0000
@@ -297,7 +297,11 @@
 	prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl);
 
 	if (prpl_info->set_status != NULL)
+	{
 		prpl_info->set_status(account, new_status);
+		gaim_signal_emit(gaim_accounts_get_handle(), "account-status-changed",
+						account, old_status, new_status);
+	}
 }
 
 GList *