This commit is contained in:
Yann Leboulanger 2007-11-14 18:10:13 +00:00
parent 338eed59ef
commit 819b3c7335
1 changed files with 1 additions and 1 deletions

View File

@ -1068,7 +1068,7 @@ class NonModalConfirmationDialog(HigDialog):
def on_response_cancel(self, widget):
if self.user_response_cancel:
if isinstance(self.user_response_cancel, tuple):
self.user_response_cancel[0](*self.user_response_ok[1:])
self.user_response_cancel[0](*self.user_response_cancel[1:])
else:
self.user_response_cancel()
self.destroy()