--- iw/autopart_type.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iw/autopart_type.py b/iw/autopart_type.py index 151ebe7..5eacdb8 100644 --- a/iw/autopart_type.py +++ b/iw/autopart_type.py @@ -135,7 +135,7 @@ class PartitionTypeWindow(InstallWindow): while 1: rc = dialog.run() - if rc == gtk.RESPONSE_CANCEL: + if rc in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]: break initiator = dxml.get_widget("iscsiInitiatorEntry").get_text() @@ -253,7 +253,7 @@ class PartitionTypeWindow(InstallWindow): rc = self.addZfcpDrive() dialog.destroy() - if rc != gtk.RESPONSE_CANCEL: + if rc not in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]: w = self.intf.waitWindow(_("Rescanning disks"), _("Rescanning disks")) partitioning.partitionObjectsInitialize(self.anaconda) -- 1.7.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list