diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-03-07 23:00:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-03-07 23:00:51 +0800 |
commit | f4521c201facc47d8341fdb9fb79a25f589f0bf7 (patch) | |
tree | 5113b37df9053ca257c3160c68cfd06f57960471 /composer | |
parent | a3ee8ed85b4c2e18b9d554f5c85bbee23fba10f5 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 2 |
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, |