1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 04:48:00 +01:00

Fixed a bug that would sometimes cause the tray icon to not display the right connection state on startup.

This commit is contained in:
imdano
2007-12-17 15:44:41 +00:00
parent 7e6f7938d5
commit da4d84b793
3 changed files with 4 additions and 7 deletions

View File

@@ -1136,8 +1136,7 @@ class ConnectionWizard(dbus.service.Object):
self.SetUseGlobalDNS(False)
self.SetGlobalDNS(False, False, False)
if config.has_option("Settings", "auto_reconnect"):
self.auto_reconnect = config.get("Settings",
"auto_reconnect")
self.auto_reconnect = config.get("Settings", "auto_reconnect")
else:
config.set("Settings", "auto_reconnect", "0")
self.auto_reconnect = False