[PATCH 5/5 newui] Network spoke: slightly improve temporary DBG print messages

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

 



---
 pyanaconda/ui/gui/spokes/network.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 0552650..0fe4295 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -370,9 +370,9 @@ class NetworkControlBox():
         self.refresh_ui(device)
 
     def on_device_state_changed(self, *args):
-        print "DBG: on_device_state_changed"
         device = args[0]
         new_state = args[1]
+        print "DBG: on_device_state_changed to: %d" % new_state
         self._refresh_carrier_info()
         read_config_values = (new_state == NetworkManager.DeviceState.ACTIVATED)
         if device == self.selected_device():
@@ -453,11 +453,11 @@ class NetworkControlBox():
 
     def on_device_off_toggled(self, switch, *args):
         if self._updating_device:
-            print "DBG: off switch ignored"
+            print "DBG: on_device_off_toggled ignored"
             return
 
         active = switch.get_active()
-        print "DBG: off switch active: %s" % active
+        print "DBG: on_device_off_toggled from: %s" % active
 
         device = self.selected_device()
 
@@ -595,6 +595,7 @@ class NetworkControlBox():
             del(row)
 
     def refresh_ui(self, device, read_config_values=False):
+        print "DBG: refresh ui %s" % device
         self._refresh_device_type_page(device)
         self._refresh_header_ui(device)
         self._refresh_speed_hwaddr(device)
-- 
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