[telepathy-glib/master] account: make core ready after receiving all its properties

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Sep 25 14:20:16 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 telepathy-glib/account.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index 657bcd6..5320f26 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -638,8 +638,6 @@ _tp_account_update (TpAccount *account,
           parameters);
     }
 
-  _tp_account_become_ready (account, TP_ACCOUNT_FEATURE_CORE);
-
   if (priv->connection_status != old_s)
     {
       if (priv->connection_status == TP_CONNECTION_STATUS_CONNECTED)
@@ -695,6 +693,8 @@ _tp_account_update (TpAccount *account,
       if (old != priv->has_been_online)
         g_object_notify (G_OBJECT (account), "has-been-online");
     }
+
+  _tp_account_become_ready (account, TP_ACCOUNT_FEATURE_CORE);
 }
 
 static void
-- 
1.5.6.5




More information about the telepathy-commits mailing list