From f4521c201facc47d8341fdb9fb79a25f589f0bf7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sun, 7 Mar 2004 15:00:51 +0000 Subject: If the subject is empty, use _("Untitled Message") as the subject instead. 2004-03-07 Jeffrey Stedfast * e-msg-composer.c (do_exit): If the subject is empty, use _("Untitled Message") as the subject instead. svn path=/trunk/; revision=24981 --- composer/ChangeLog | 5 +++++ composer/e-msg-composer.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * e-msg-composer.c (do_exit): If the subject is empty, use + _("Untitled Message") as the subject instead. + 2004-03-05 Jeffrey Stedfast 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, -- cgit