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:
@@ -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. """
|
||||
|
||||
Reference in New Issue
Block a user