fix creating Notification via pynotify. See #8308
This commit is contained in:
parent
588ead0990
commit
398b0a6385
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ text=None, timeout=-1):
|
|||
else:
|
||||
_title = title
|
||||
|
||||
notification = Notify.Notification(_title, _text)
|
||||
notification = Notify.Notification.new(_title, _text)
|
||||
notification.set_timeout(timeout*1000)
|
||||
|
||||
notification.set_category(event_type)
|
||||
|
|
Loading…
Add table
Reference in a new issue