aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
commitbd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch)
treeb693ad7ec135bd8031458611b5ec485abd866463 /mail/e-mail-reader.c
parent5f83c587b2da0b9578117796253b7726e98748cc (diff)
downloadgsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz
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.c19
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);