more alertpanel fixes
[claws.git] / src / compose.c
index e1adb887f42fdd69bc54acb7e87e6583463b2dcb..fa88f0890a637e78fdf141a5e424fe0c47c07bc4 100644 (file)
@@ -3732,8 +3732,8 @@ static gint compose_write_to_file(Compose *compose, const gchar *file,
                        msg = g_strdup_printf(_("Can't convert the character encoding of the message from\n"
                                                "%s to %s.\n"
                                                "Send it anyway?"), src_codeset, out_codeset);
-                       aval = alertpanel
-                               (_("Error"), msg, _("Yes"), _("+No"), NULL);
+                       aval = alertpanel_with_type
+                               (_("Error"), msg, _("Yes"), _("+No"), NULL, NULL, ALERT_ERROR);
                        g_free(msg);
 
                        if (aval != G_ALERTDEFAULT) {