account_names_list=modest_account_mgr_server_account_names(modest_acc_mgr, NULL, MODEST_PROTO_TYPE_ANY, NULL, FALSE);
identities_list=modest_identity_mgr_identity_names(modest_id_mgr, NULL);
if (!(account_names_list!=NULL || identities_list!=NULL))
account_names_list=modest_account_mgr_server_account_names(modest_acc_mgr, NULL, MODEST_PROTO_TYPE_ANY, NULL, FALSE);
identities_list=modest_identity_mgr_identity_names(modest_id_mgr, NULL);
if (!(account_names_list!=NULL || identities_list!=NULL))