[PATCH] Network spoke: fix config info update after switching device OFF and ON (#871429)

Radek Vykydal rvykydal at redhat.com
Tue Oct 30 12:36:55 UTC 2012


---
 pyanaconda/ui/gui/spokes/network.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 366b87e..56dca68 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -370,6 +370,8 @@ class NetworkControlBox():
     def on_device_state_changed(self, *args):
         device = args[0]
         new_state = args[1]
+        if new_state == NetworkManager.DeviceState.SECONDARIES:
+            return
         self._refresh_carrier_info()
         read_config_values = (new_state == NetworkManager.DeviceState.ACTIVATED)
         if device == self.selected_device():
-- 
1.7.4



More information about the anaconda-patches mailing list