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