aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index b5daf624d1..c767982b03 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-07 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (do_exit): If the subject is empty, use
+ _("Untitled Message") as the subject instead.
+
2004-03-05 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #55202
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index e9bdd6d50f..250d5d3b63 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1557,7 +1557,7 @@ do_exit (EMsgComposer *composer)
GTK_MESSAGE_ERROR, GTK_BUTTONS_NONE,
_("The message \"%s\" has not been sent.\n\n"
"Do you wish to save your changes?"),
- subject);
+ subject && *subject ? subject : _("Untitled Message"));
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
_("_Discard Changes"), GTK_RESPONSE_NO,