1
0
mirror of https://github.com/gryf/wicd.git synced 2026-04-04 20:03:37 +02:00

Fix bug where be-ioctl scans always reported channels as 1.

Tweak the UI a little bit.
Add debugging output when forced_disconnect gets enabled.
This commit is contained in:
Dan O'Reilly
2009-01-15 00:56:02 -05:00
parent 2978102ba4
commit 2358357f1d
4 changed files with 15 additions and 6 deletions

View File

@@ -91,6 +91,7 @@ class WicdDaemon(dbus.service.Object):
self.vpn_session = None
self.gui_open = False
self.suspended = False
self.debug_mode = False
self.connection_state = misc.NOT_CONNECTED
self.connection_info = [""]
self.auto_connecting = False
@@ -421,6 +422,7 @@ class WicdDaemon(dbus.service.Object):
started.
"""
if self.debug_mode and value: print "Forced disconnect on"
self.forced_disconnect = bool(value)
self.wireless_bus.SetForcedDisconnect(bool(value))
self.wired_bus.SetForcedDisconnect(bool(value))