diff --git a/src/notify.py b/src/notify.py index 8a50565a9..42d91d8d8 100644 --- a/src/notify.py +++ b/src/notify.py @@ -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)