if (!privacy_encrypt(compose->privacy_system, mimemsg, compose->encdata)) {
debug_print("Couldn't encrypt mime structure: %s.\n",
privacy_get_error());
- msg = g_strdup_printf("Couldn't encrypt the email: %s",
+ alertpanel_error(_("Couldn't encrypt the email: %s"),
privacy_get_error());
- alertpanel_error(msg);
- g_free(msg);
}
}
}
compose_close(compose);
return TRUE;
} else {
- struct stat s;
+ GStatBuf s;
gchar *path;
path = folder_item_fetch_msg(draft, msgnum);