* (without the check for >0 accounts, though that is not specified): */
TnyDevice *device = tny_account_store_get_device (store);
+
+ modest_folder_view_update_model (MODEST_FOLDER_VIEW (priv->folder_view), store);
/* Check that we are really online.
* This signal should not be emitted when we are not connected,
modest_ui_actions_do_send_receive_all (win);
else
modest_ui_actions_do_send_receive (account_name, win);
+
}
static void
g_signal_connect (G_OBJECT(account_store), "accounts_reloaded",
G_CALLBACK (on_accounts_reloaded), self);
+ g_signal_connect (G_OBJECT(account_store), "connecting_finished",
+ G_CALLBACK (on_accounts_reloaded), self);
+
on_accounts_reloaded (account_store, (gpointer ) self);
g_object_unref (G_OBJECT (device));