[Notifications] Set notification desktop entry hint
Due to Gnome Guidelines https://wiki.gnome.org/Initiatives/GnomeGoals/NotificationSource
This commit is contained in:
parent
9e29fe4111
commit
ba6af99b05
|
@ -182,6 +182,7 @@ class GtkUiNotifications(CustomNotifications):
|
|||
)
|
||||
self.note = pynotify.Notification(title, message)
|
||||
self.note.set_icon_from_pixbuf(icon)
|
||||
self.note.set_hint('desktop-entry', 'deluge')
|
||||
if not self.note.show():
|
||||
err_msg = _('pynotify failed to show notification')
|
||||
log.warning(err_msg)
|
||||
|
|
Loading…
Reference in New Issue