ui: change notification hints

embed
Manos Pitsidianakis 2018-09-22 16:55:42 +03:00
parent fd1378781d
commit b0097574a5
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 3 additions and 2 deletions

View File

@ -42,13 +42,14 @@ impl Component for XDGNotifications {
fn process_event(&mut self, event: &UIEvent, _context: &mut Context) -> bool {
if let UIEventType::Notification(ref title, ref body) = event.event_type {
notify_Notification::new()
.appname("meli")
.icon("mail-message-new")
.summary(
title
.as_ref()
.map(|v| v.as_str())
.unwrap_or("Refresh Event"),
)
.body(body)
).body(body)
.icon("dialog-information")
.show()
.unwrap();