X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-main-window.c;fp=src%2Fmaemo%2Fmodest-main-window.c;h=620e6f1040b34e30f6a8795039383db567cb6fc6;hp=586a6f3a47f213dae3cefb124a643992713b43cd;hb=42b51c4f9cdf3e8ee29649f9d97e5ba074d907e5;hpb=9ee9c1e0296c01b8bdf9f97123aad5a5a13e5643;ds=sidebyside 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))) {