aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-07 23:00:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-07 23:00:51 +0800
commitf4521c201facc47d8341fdb9fb79a25f589f0bf7 (patch)
tree5113b37df9053ca257c3160c68cfd06f57960471 /composer/e-msg-composer.c
parenta3ee8ed85b4c2e18b9d554f5c85bbee23fba10f5 (diff)
downloadgsoc2013-evolution-f4521c201facc47d8341fdb9fb79a25f589f0bf7.tar.gz
gsoc2013-evolution-f4521c201facc47d8341fdb9fb79a25f589f0bf7.tar.zst
gsoc2013-evolution-f4521c201facc47d8341fdb9fb79a25f589f0bf7.zip
If the subject is empty, use _("Untitled Message") as the subject instead.
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. svn path=/trunk/; revision=24981
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 1 insertions, 1 deletions
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,