diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-26 13:26:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-26 13:26:18 +0800 |
commit | bd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch) | |
tree | b693ad7ec135bd8031458611b5ec485abd866463 /mail/e-mail-reader.c | |
parent | 5f83c587b2da0b9578117796253b7726e98748cc (diff) | |
download | gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.bz2 gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.lz gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.xz gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 19 |
1 files changed, 13 insertions, 6 deletions
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); |