Commit f0b18680 authored by nkour's avatar nkour
Browse files


parent cfb307b9
...@@ -609,7 +609,7 @@ class HigDialog(gtk.MessageDialog): ...@@ -609,7 +609,7 @@ class HigDialog(gtk.MessageDialog):
if not possible_responses[response]: if not possible_responses[response]:
b.connect('clicked', self.just_destroy) b.connect('clicked', self.just_destroy)
elif isinstance(possible_responses[response], tuple): elif isinstance(possible_responses[response], tuple):
if len(possible_response[response]) == 1: if len(possible_responses[response]) == 1:
b.connect('clicked', possible_responses[response][0]) b.connect('clicked', possible_responses[response][0])
else: else:
b.connect('clicked', *possible_responses[response]) b.connect('clicked', *possible_responses[response])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment