if (reinstall) {
modest_conf_remove_key (modest_conf, MODEST_CONF_NAMESPACE, NULL);
install_basic_conf_settings (modest_conf);
if (reinstall) {
modest_conf_remove_key (modest_conf, MODEST_CONF_NAMESPACE, NULL);
install_basic_conf_settings (modest_conf);
NULL, "imap");
modest_account_mgr_add_server_account (acc_mgr, "mytransport", "localhost", NULL,
NULL, "smtp");
NULL, "imap");
modest_account_mgr_add_server_account (acc_mgr, "mytransport", "localhost", NULL,
NULL, "smtp");
}
id_mgr = MODEST_IDENTITY_MGR(modest_identity_mgr_new (conf));
if (modest_identity_mgr_identity_exists(id_mgr, "myidentity", NULL)) {
}
id_mgr = MODEST_IDENTITY_MGR(modest_identity_mgr_new (conf));
if (modest_identity_mgr_identity_exists(id_mgr, "myidentity", NULL)) {
}
if (!modest_identity_mgr_add_identity (id_mgr,
MODEST_IDENTITY_DEFAULT_IDENTITY,
}
if (!modest_identity_mgr_add_identity (id_mgr,
MODEST_IDENTITY_DEFAULT_IDENTITY,
"user@localhost",
"", "", FALSE, NULL, FALSE ))
g_warning ("failed to add test identity");
"user@localhost",
"", "", FALSE, NULL, FALSE ))
g_warning ("failed to add test identity");