ui: change notification hints

embed
Manos Pitsidianakis 6 years ago
parent fd1378781d
commit b0097574a5
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -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();

Loading…
Cancel
Save