Looks ok, but the hunks below change indentation!
diff --git a/iw/partition_gui.py b/iw/partition_gui.py index f18a652..1b5a4fc 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -1279,7 +1279,7 @@ class PartitionWindow(InstallWindow): dialog.show_all() rc = dialog.run() dialog.destroy() - if rc == 2: + if rc in [2, gtk.RESPONSE_DELETE_EVENT]: return # see which option they choose diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py index bb457a5..54751d3 100644 --- a/iw/raid_dialog_gui.py +++ b/iw/raid_dialog_gui.py @@ -140,7 +140,7 @@ class RaidEditor: rc = self.dialog.run() # user hit cancel, do nothing - if rc == 2: + if rc in [2, gtk.RESPONSE_DELETE_EVENT]: self.destroy() return [] @@ -696,7 +696,7 @@ class RaidCloneDialog: rc = self.dialog.run() # user hit cancel, do nothing - if rc == 2: + if rc in [2, gtk.RESPONSE_DELETE_EVENT]: self.destroy() return None
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list