1
0
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:
Dan O'Reilly
2009-02-04 00:26:13 -05:00
parent 3fe1bca50e
commit 9fb268d67d
2 changed files with 56 additions and 78 deletions

View File

@@ -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