mirror of
https://github.com/gryf/wicd.git
synced 2026-01-03 12:24:14 +01:00
Initial work on automatic switchover to wired networks (no UI work yet)
actually use "write=True" instead of just "True" everywhere we do config writes explicitly. Fix the scripts dialog not working for wired connections. Force the monitor to update state after triggering a disconnect or connect. Remove an unneeded Scan call from autoconnect.py
This commit is contained in:
@@ -706,15 +706,14 @@ class appGui(object):
|
||||
[width, height] = self.window.get_size()
|
||||
try:
|
||||
daemon.WriteWindowSize(width, height, "main")
|
||||
except:
|
||||
daemon.SetGUIOpen(False)
|
||||
except dbusmanager.DBusException:
|
||||
pass
|
||||
|
||||
if self.standalone:
|
||||
sys.exit(0)
|
||||
|
||||
self.is_visible = False
|
||||
daemon.SetGUIOpen(False)
|
||||
self.wait_for_events()
|
||||
return True
|
||||
|
||||
def show_win(self):
|
||||
|
||||
Reference in New Issue
Block a user