FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-16-2011, 01:57 PM
Vratislav Podzimek
 
Default do not create new iSCSI target when 'Esc' is hit (#768082)

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

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 151ebe7..5eacdb8 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -135,7 +135,7 @@ class PartitionTypeWindow(InstallWindow):

while 1:
rc = dialog.run()
- if rc == gtk.RESPONSE_CANCEL:
+ if rc in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
break

initiator = dxml.get_widget("iscsiInitiatorEntry").get_text()
@@ -253,7 +253,7 @@ class PartitionTypeWindow(InstallWindow):
rc = self.addZfcpDrive()
dialog.destroy()

- if rc != gtk.RESPONSE_CANCEL:
+ if rc not in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
w = self.intf.waitWindow(_("Rescanning disks"),
_("Rescanning disks"))
partitioning.partitionObjectsInitialize(self.anaco nda)
--
1.7.4.4

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

Thread Tools




All times are GMT. The time now is 08:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org