[Telepathy-commits] [telepathy-mission-control/master] Complete account setup even if manager is not there

mardy mardy at 64d1ce6a-1406-0410-9ac8-afed03b27183
Mon Nov 17 00:05:12 PST 2008


If the manager is absent, accounts should appear as invalid, but still behave
correctly.

git-svn-id: https://projects.maemo.org/svn/chavo/trunk/framework/open/telepathy-mission-control@20431 64d1ce6a-1406-0410-9ac8-afed03b27183
---
 src/mcd-account.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mcd-account.c b/src/mcd-account.c
index d9bfcc3..06989ef 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -1203,10 +1203,10 @@ mcd_account_setup (McdAccount *account)
     if (!priv->manager && !load_manager (priv))
     {
 	g_warning ("Could not find manager `%s'", priv->manager_name);
-	return FALSE;
+	valid = FALSE;
     }
-
-    valid = mcd_account_check_parameters (account);
+    else
+	valid = mcd_account_check_parameters (account);
     priv->valid = valid;
 
     /* load the automatic presence */
-- 
1.5.6.5




More information about the Telepathy-commits mailing list