envoyer icon indicating copy to clipboard operation
envoyer copied to clipboard

Implement notifications

Open matzipan opened this issue 4 years ago • 1 comments

When there's more than two new emails do not send a notification for each one

matzipan avatar Jun 30 '21 21:06 matzipan

let notification = gio::Notification::new(&"message");
                        notification.set_body(Some(&"New message"));
                        notification.set_priority(gio::NotificationPriority::Normal);
                        gtk_application_clone.send_notification(Some(&"test"), &notification);

matzipan avatar Feb 26 '22 19:02 matzipan