Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   do not add drive when 'Esc' is hit in the Advanced Storage Options dialog (#768082) (http://www.linux-archive.org/debian-kernel/610874-do-not-add-drive-when-esc-hit-advanced-storage-options-dialog-768082-a.html)

Vratislav Podzimek 12-16-2011 01:57 PM

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

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


All times are GMT. The time now is 04:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.