From 7afdc03507e0aa95f177f8a7c95086de5cfcc06c Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Mon, 22 Oct 2007 22:27:29 +0000 Subject: bundled shm module --- portato/plugins/notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'portato/plugins') diff --git a/portato/plugins/notify.py b/portato/plugins/notify.py index db024cf..ae2addd 100644 --- a/portato/plugins/notify.py +++ b/portato/plugins/notify.py @@ -1,7 +1,7 @@ from gettext import lgettext as _ import pynotify -from portato import listener +from portato import get_listener from portato.helper import warning, error, debug from portato.constants import APP_ICON, APP @@ -20,4 +20,4 @@ def notify (retcode, **kwargs): descr = _("Error Code: %d") % retcode urgency = pynotify.URGENCY_CRITICAL - listener.send_notify(base = text, descr = descr, icon = icon, urgency = urgency) + get_listener().send_notify(base = text, descr = descr, icon = icon, urgency = urgency) -- cgit v1.2.3