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 Java

 
 
LinkBack Thread Tools
 
Old 05-29-2012, 08:12 AM
Radek Vykydal
 
Default Network spoke: slightly improve temporary DBG print messages

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




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

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