From 5ef0058780e719f88867ea254bc3da8bae01c57f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 26 Jan 2006 15:43:34 +0000 Subject: [PATCH] on_close function now support notification daemon 0.3.x (on less argument) see #1468 --- src/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notify.py b/src/notify.py index c66826925..d0b26cadc 100644 --- a/src/notify.py +++ b/src/notify.py @@ -91,7 +91,7 @@ class NotificationResponseManager: # on a popup before the program finishes registering this callback gobject.timeout_add(1000, self.on_action_invoked, id, reason) - def on_closed(self, id, reason): + def on_closed(self, id, reason = None): if self.pending.has_key(id): del self.pending[id]