- update_account_view (priv->account_mgr, self);
-
- /* Get transport account */
- const gchar *modest_account_name =
- modest_tny_account_get_parent_modest_account_name_for_server_account (account);
- g_return_if_fail (modest_account_name);
-
- transport_account = (TnyTransportAccount*)
- modest_tny_account_store_get_transport_account_for_open_connection (modest_runtime_get_account_store(),
- modest_account_name);
-
- /* Restart send queue */
- if (transport_account) {
- g_return_if_fail (TNY_IS_TRANSPORT_ACCOUNT(transport_account));
- send_queue = modest_runtime_get_send_queue (transport_account);
- g_return_if_fail (MODEST_IS_TNY_SEND_QUEUE(send_queue));
- modest_tny_send_queue_try_to_send (send_queue);
-
- g_object_unref (transport_account);
- }