When using GObject.Notify, Notify.init() returns true even if no service
provides org.freedesktop.Notification. So we try to show a notification,
if it fails notifications are disabled.
Also catch exceptions if at some point the notification service is not
available anymore.
When using GObject.Notify, Notify.init() returns true even if no service provides org.freedesktop.Notification. So we try to show a notification, if it fails notifications are disabled.
Also catch exceptions if at some point the notification service is not available anymore.