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

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



---
 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


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