1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-03 20:34:17 +01:00

experimental:

- Add UPDATE_INTERVAL as a required attribute for backends, and used by monitor.py
- Update Copyright stuff in a few files
- Remove/update some scripts and configuration files.
This commit is contained in:
imdano
2008-09-13 22:52:01 +00:00
parent 3989159ee6
commit f6033cc6bb
14 changed files with 82 additions and 53 deletions

View File

@@ -193,6 +193,11 @@ class WicdDaemon(dbus.service.Object):
""" Returns the currently loaded backend. """
return networking.get_current_backend()
@dbus.server.method('org.wicd.daemon')
def GetBackendUpdateInterval('org.wicd.daemon'):
""" Returns status update interval for the loaded backend. """
return networking.get_backend_update_interval()
@dbus.service.method('org.wicd.daemon')
def GetSavedBackend(self):
""" Returns the backend saved to disk. """