fix creating Notification via pynotify. See #8308

This commit is contained in:
Yann Leboulanger 2016-03-30 20:45:50 +02:00
parent 588ead0990
commit 398b0a6385
1 changed files with 1 additions and 1 deletions

View File

@ -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)