From 398b0a63851b05d897bdb9d93b5b94c6403582f3 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 30 Mar 2016 20:45:50 +0200 Subject: [PATCH] fix creating Notification via pynotify. See #8308 --- src/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)