summaryrefslogtreecommitdiff
path: root/src/mcd-account.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-04-17 14:46:45 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-04-17 14:46:45 +0100
commit3f7ddf4548fda4688d8b8906ce67b7a717fb12b8 (patch)
tree6c1008c038bf1c349ad616cd45e971b5325224b9 /src/mcd-account.c
parentaf7bbf200459a2a0701fa402d14338ad1649a73a (diff)
McdAccount: if we have no McdConnection, set status DISCONNECTED
Otherwise, reconnecting doesn't work at all, even in simple cases.
Diffstat (limited to 'src/mcd-account.c')
-rw-r--r--src/mcd-account.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mcd-account.c b/src/mcd-account.c
index cc081144..58d46eda 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