diff src/conversation.c @ 3427:8fa61405af2b

[gaim-migrate @ 3453] Who never commits anything *now*, Etan? I changed most of the error message text around. If you think any of it should be different, just let me know, or send a patch. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 25 Aug 2002 10:51:24 +0000
parents c65c298a04e1
children bc9c71d74842
line wrap: on
line diff
--- a/src/conversation.c	Sun Aug 25 06:08:15 2002 +0000
+++ b/src/conversation.c	Sun Aug 25 10:51:24 2002 +0000
@@ -1333,11 +1333,11 @@
 
 	if (err < 0) {
 		if (err == -E2BIG)
-			do_error_dialog(_("Unable to send message: too large"), _("Message Error"));
+			do_error_dialog(_("Unable to send message.  The message is too large"), NULL, GAIM_ERROR);
 		else if (err == -ENOTCONN)
 			debug_printf("Not yet connected\n");
 		else
-			do_error_dialog(_("Unable to send message: Unknown reason"), _("Message Error"));
+			do_error_dialog(_("Unable to send message"), NULL, GAIM_ERROR);
 	} else {
 		gtk_editable_delete_text(GTK_EDITABLE(c->entry), 0, -1);
 
@@ -3478,7 +3478,7 @@
 			fwrite(data, 1, len, file);
 		fclose(file);
 	} else {
-		do_error_dialog("Can't open file for writing", "Error");
+		do_error_dialog("Can't save icon file to disk", strerror(errno), GAIM_ERROR);
 	}
 
 	gtk_widget_destroy(c->save_icon);