From 712652a4c8876d6025f0ebc41d5e3ed7d1f120c1 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sat, 2 Mar 2019 21:14:03 +0200 Subject: [PATCH] Fix xdg notification format Concerns #64 --- ui/src/conf/accounts.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/conf/accounts.rs b/ui/src/conf/accounts.rs index 0c82b4375..3024fdd53 100644 --- a/ui/src/conf/accounts.rs +++ b/ui/src/conf/accounts.rs @@ -167,7 +167,8 @@ impl Account { return Some(Notification( Some("new mail".into()), format!( - "{:<15}:\nSubject: {:<15}\nFrom: {:<15}", + "{} {:.15}:\n\nFrom: {:.15}\nSubject: {:.15}", + self.name, ref_folders[idx].name(), env.subject(), env.field_from_to_string(),