[PATCH 1/2] do not add drive when 'Esc' is hit in the Advanced Storage Options dialog (#768082)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 iw/autopart_type.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 267eee6..151ebe7 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -245,7 +245,7 @@ class PartitionTypeWindow(InstallWindow):
         
         rc = dialog.run()
         dialog.hide()
-        if rc == gtk.RESPONSE_CANCEL:
+        if rc in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
             return
         if dxml.get_widget("iscsiRadio").get_active():
             rc = self.addIscsiDrive()
-- 
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux