* select the inbox of the newly selected account; fixes NB#58667
[modest] / src / maemo / modest-main-window.c
index 7380646..459df2b 100644 (file)
@@ -462,7 +462,7 @@ on_sendqueue_error_happened (TnySendQueue *self, TnyHeader *header, TnyMsg *msg,
                        return;
        }
 
-       /* Get the account name: */
+       /* Get the server name: */
        const gchar* server_name = NULL;
        
        TnyCamelTransportAccount* server_account = tny_camel_send_queue_get_transport_account (
@@ -2065,6 +2065,8 @@ on_show_account_action_activated  (GtkAction *action,
                                                                             acc_data->store_account->account_name);
                modest_window_set_active_account (MODEST_WINDOW (self), acc_data->account_name);
        }
+       
+       modest_folder_view_select_first_inbox_or_local (priv->folder_view);
 
        /* Free */
        modest_account_mgr_free_account_data (mgr, acc_data);