From: Sergio Villar Senin Date: Wed, 11 Jun 2008 07:40:03 +0000 (+0000) Subject: * Select the first inbox of the newly selected account X-Git-Tag: git_migration_finished~1316 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=42b51c4f9cdf3e8ee29649f9d97e5ba074d907e5 * Select the first inbox of the newly selected account pmo-trunk-r4640 --- diff --git a/src/maemo/modest-main-window.c b/src/maemo/modest-main-window.c index 586a6f3..620e6f1 100644 --- a/src/maemo/modest-main-window.c +++ b/src/maemo/modest-main-window.c @@ -2514,7 +2514,9 @@ set_account_visible(ModestMainWindow *self, const gchar *acc_name) modest_folder_view_set_account_id_of_visible_server_account (priv->folder_view, modest_server_account_settings_get_account_name (store_settings)); + modest_folder_view_select_first_inbox_or_local (priv->folder_view); modest_window_set_active_account (MODEST_WINDOW (self), account_name); + action = gtk_action_group_get_action (priv->view_additions_group, account_name); if (action != NULL) { if (!gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action))) {