mirror of
https://github.com/gryf/wicd.git
synced 2025-12-23 14:42:29 +01:00
Rather than polling for network status in the GUI, just have the monitor run an on-demand pull and get the results from the daemon. Should reduce iwconfig/ifconfig calls while the GUI is open and make for nicer looking code.
This commit is contained in:
@@ -787,6 +787,7 @@ class WicdDaemon(dbus.service.Object):
|
||||
def ConnectResultsSent(self, result):
|
||||
print "Sending connection attempt result %s" % result
|
||||
|
||||
@dbus.service.method("org.wicd.daemon")
|
||||
@dbus.service.signal(dbus_interface="org.wicd.daemon", signature='')
|
||||
def UpdateState(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user