From 62fbd1f460c253a9a9770ec37a916dd2f55335dd Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 22 Sep 2009 17:28:19 -0500 Subject: If the global status changes then we need to signal everyone else about it. --- src/status-provider-mc5.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status-provider-mc5.c b/src/status-provider-mc5.c index 0251675..a9342a1 100644 --- a/src/status-provider-mc5.c +++ b/src/status-provider-mc5.c @@ -188,7 +188,10 @@ presence_changed (EmpathyAccountManager * eam, guint type, const gchar * type_st g_debug("MC5 Status changed: %d %s %s", type, type_str, message); - priv->status = tp_to_sp_map[type]; + if (priv->status != tp_to_sp_map[type]) { + priv->status = tp_to_sp_map[type]; + g_signal_emit(G_OBJECT(sp), STATUS_PROVIDER_SIGNAL_STATUS_CHANGED_ID, 0, priv->status, TRUE); + } return; } -- cgit v1.2.3