[telepathy-mission-control/master] McdAccount: if we have no McdConnection, set status DISCONNECTED
Simon McVittie
simon.mcvittie at collabora.co.uk
Fri Apr 17 06:46:45 PDT 2009
Otherwise, reconnecting doesn't work at all, even in simple cases.
---
src/mcd-account.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mcd-account.c b/src/mcd-account.c
index cc08114..58d46ed 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -2444,6 +2444,10 @@ _mcd_account_set_connection (McdAccount *account, McdConnection *connection)
g_signal_connect (connection, "abort",
G_CALLBACK (on_connection_abort), account);
}
+ else
+ {
+ priv->conn_status = TP_CONNECTION_STATUS_DISCONNECTED;
+ }
}
void
--
1.5.6.5
More information about the telepathy-commits
mailing list