1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-30 10:22:31 +01:00

branches/experimental

- Add support for entering search domain into static DNS settings.
- Fix some errors in how static setting texboxes were getting set.
- Fixed a bunch of errors/warnings found by pylint.
This commit is contained in:
imdano
2008-09-20 10:22:06 +00:00
parent 244b419f3f
commit c197b5fcbc
13 changed files with 172 additions and 142 deletions

View File

@@ -31,6 +31,7 @@ import wicd.wpath as wpath
class BackendManager(object):
""" Manages, validates, and loads wicd backends. """
def __init__(self):
""" Initialize the backend manager. """
self.backend_dir = wpath.backends
@@ -57,6 +58,7 @@ class BackendManager(object):
return be_list
def get_update_interval(self):
""" Returns how often in seconds the wicd monitor should update. """
if self.__loaded_backend:
return self.__loaded_backend.UPDATE_INTERVAL
else: