void on_get_mmc_account_name (TnyStoreAccount* account, gpointer user_data)
{
+ printf ("DEBUG: %s: account name=%s\n", __FUNCTION__, tny_account_get_name (TNY_ACCOUNT(account)));
+
ModestFolderView *self = MODEST_FOLDER_VIEW (user_data);
/* If this has been called then it means that the account name has
/* This won't happen often */
if (G_UNLIKELY (priv->reselect)) {
/* Select the first inbox or the local account if not found */
- modest_folder_view_select_first_inbox_or_local (self);
+
+ /* TODO: this could cause a lock at startup, so we
+ comment it for the moment. We know that this will
+ be a bug, because the INBOX is not selected, but we
+ need to rewrite some parts of Modest to avoid the
+ deathlock situation */
+/* modest_folder_view_select_first_inbox_or_local (self); */
priv->reselect = FALSE;
}
return FALSE;