Fix test on button cancel to ensure it is still cancel

This commit is contained in:
Cédric Krier committed 2010-04-28 23:16:24 +02:00
1 parent 97a3ebbfa4
commit fc8e871c3d
1 file changed
+1 -1
+1 -1
View File
@@ -299,7 +299,7 @@ class WinForm(object):
if res == gtk.RESPONSE_OK:
return True
elif self.but_cancel:
elif self.but_cancel.get_label == gtk.STOCK_CANCEL:
self.screen.remove(delete=True)
return False