[PATCH master] Gray out "Configure Network" button in live installations (#749929)

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

 



Instead, live environment should be used to configure networking.
Making the button insensitive stopped working in F16 for installs having
wireless devices.

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

diff --git a/pyanaconda/iw/network_gui.py b/pyanaconda/iw/network_gui.py
index 9f8eaf7..a7bf321 100644
--- a/pyanaconda/iw/network_gui.py
+++ b/pyanaconda/iw/network_gui.py
@@ -51,7 +51,9 @@ class NetworkWindow(InstallWindow):
 
         self.netconfButton = self.xml.get_widget("netconfButton")
         self.netconfButton.connect("clicked", self._setupNetwork)
-        if len(self.anaconda.network.netdevices) == 0 or flags.imageInstall:
+        if (len(self.anaconda.network.netdevices) == 0
+            or flags.imageInstall
+            or flags.livecdInstall):
             self.netconfButton.set_sensitive(False)
 
         # pressing Enter in confirm == clicking Next
-- 
1.7.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