diff options
author | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2011-08-18 18:35:16 +0100 |
---|---|---|
committer | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2011-09-06 16:18:51 +0100 |
commit | c2aa017899facac77648ddbf57cfd50c869a02c0 (patch) | |
tree | 26ecfc95a004e9547a4cff9eedd1023c1987e6d9 /src | |
parent | 5008b9578d0d815b87ae6145f122a8cf37671524 (diff) |
Set connection status to 'CONNECTING' as soon as we start trying to connect
Diffstat (limited to 'src')
-rw-r--r-- | src/mcd-account-connection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mcd-account-connection.c b/src/mcd-account-connection.c index 101c2440..3d289935 100644 --- a/src/mcd-account-connection.c +++ b/src/mcd-account-connection.c @@ -78,6 +78,10 @@ _mcd_account_connection_begin (McdAccount *account, ctx->params = _mcd_account_dup_parameters (account); g_assert (ctx->params != NULL); + _mcd_account_set_connection_status (account, + TP_CONNECTION_STATUS_CONNECTING, + TP_CONNECTION_STATUS_REASON_REQUESTED, + NULL, NULL, NULL); _mcd_account_set_connection_context (account, ctx); mcd_account_connection_proceed (account, TRUE); } |