mirror of
https://github.com/gryf/wicd.git
synced 2026-01-04 12:54:12 +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:
@@ -289,10 +289,7 @@ def main():
|
||||
|
||||
"""
|
||||
monitor = ConnectionStatus()
|
||||
if daemon.GetCurrentBackend() == "ioctl":
|
||||
to_time = 3
|
||||
else:
|
||||
to_time = 4
|
||||
to_time = daemon.GetBackendUpdateInterval()
|
||||
try:
|
||||
gobject.timeout_add_seconds(to_time, monitor.update_connection_status)
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user