on_close function now support notification daemon 0.3.x (on less argument) see #1468
This commit is contained in:
parent
a7620919f7
commit
5ef0058780
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue