-
- accounts =
- modest_account_mgr_server_account_names (priv->modest_acc_mgr,
- NULL,
- MODEST_PROTO_TYPE_STORE,
- NULL, FALSE);
-
- g_message ("accounts: %d", g_slist_length (accounts));
- tny_accounts = tny_accounts_from_server_accounts (self, accounts, TRUE);
- g_slist_free (accounts);
- g_message ("store accounts: %d", g_list_length (tny_accounts));
-
-
- /*
- * FIXME: after gconf notification support is added,
- * we can simply return priv->store_account
- */
- priv->store_accounts = free_gobject_list (priv->store_accounts);
- priv->store_accounts = tny_accounts;
-
- return tny_accounts;
-}