Skip to content
Snippets Groups Projects
Commit 5ef00587 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent a7620919
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment