[PATCH 15/22] Check return value 2 we get when cancelling a dialog (#520146).

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

 



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

diff --git a/iw/network_gui.py b/iw/network_gui.py
index b671fa2..00cb1d9 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -217,7 +217,7 @@ def selectNetDevicesDialog(network, select_install_device=True):
 
     rc = dialog.run()
 
-    if rc in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
+    if rc in [2, gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
         retval = None
     else:
         install_device = None
-- 
1.6.0.6

_______________________________________________
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