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