--- iw/partition_dialog_gui.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py index 6e7b6cf..e70fe58 100644 --- a/iw/partition_dialog_gui.py +++ b/iw/partition_dialog_gui.py @@ -106,8 +106,8 @@ class PartitionEditor: while 1: rc = self.dialog.run() - # user hit cancel, do nothing - if rc == 2: + # user hit cancel or 'Esc', do nothing + if rc in [2, gtk.RESPONSE_DELETE_EVENT]: self.destroy() return None -- 1.7.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list