gchar *key;
const gchar* account_id;
- /* Restore the visible account */
+ /* Save the visible account */
key = _modest_widget_memory_get_keyname (name, "visible_server_account_id");
account_id = modest_folder_view_get_account_id_of_visible_server_account (folder_view);
if (account_id)
modest_conf_set_string (conf, key, account_id, NULL);
-
g_free (key);
+
return TRUE;
}
g_free (key);
+ /* Select the first INBOX folder */
+ modest_folder_view_select_first_inbox_or_local (folder_view);
+
return TRUE;
}