Dont set urgency when we already set priority

set_urgent is deprecated in favor of set_priority

Fixes #9101
This commit is contained in:
Philipp Hörist 2018-04-29 23:38:16 +02:00
parent 56a5d01609
commit e0e3b9609a
1 changed files with 0 additions and 1 deletions

View File

@ -108,7 +108,6 @@ text=None, timeout=-1):
# Only one notification per JID # Only one notification per JID
notif_id = jid notif_id = jid
notification.set_priority(Gio.NotificationPriority.NORMAL) notification.set_priority(Gio.NotificationPriority.NORMAL)
notification.set_urgent(False)
app.app.send_notification(notif_id, notification) app.app.send_notification(notif_id, notification)