on_close function now support notification daemon 0.3.x (on less argument) see #1468

This commit is contained in:
Yann Leboulanger 2006-01-26 15:43:34 +00:00
parent a7620919f7
commit 5ef0058780
1 changed files with 1 additions and 1 deletions

View File

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