From bd31f49bac99f21656dc7d0352d5b3f7385f71b2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 26 Dec 2009 00:26:18 -0500 Subject: Coding style and whitespace cleanup. --- mail/e-mail-reader.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'mail/e-mail-reader.c') diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 9b7cc4d887..74b4f1a427 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -808,15 +808,22 @@ action_mail_save_as_cb (GtkAction *action, } if (!suggestion) { - /* To Translators: This is a part of a suggested file name used when saving - a message or multiple messages to an mbox format, when the first message - doesn't have a Subject. The extension ".mbox" is appended to this string, - thus it will be something like "Message.mbox" at the end. */ - suggestion = g_strconcat (ngettext ("Message", "Messages", uids->len), ".mbox", NULL); + const gchar *basename; + + /* Translators: This is a part of a suggested file name + * used when saving a message or multiple messages to an + * mbox format, when the first message doesn't have a + * Subject. The extension ".mbox" is appended to this + * string, thus it will be something like "Message.mbox" + * at the end. */ + basename = ngettext ("Message", "Messages", uids->len); + suggestion = g_strconcat (basename, ".mbox", NULL); } shell = e_shell_backend_get_shell (shell_backend); - file = e_shell_run_save_dialog (shell, title, suggestion, "*.mbox:application/mbox,message/rfc822", NULL, NULL); + file = e_shell_run_save_dialog ( + shell, title, suggestion, + "*.mbox:application/mbox,message/rfc822", NULL, NULL); if (file == NULL) { em_utils_uids_free (uids); -- cgit v1.2.3