mirror of
https://github.com/gryf/wicd.git
synced 2026-01-05 05:14:17 +01:00
Fix issue where GetForcedDisconnect was returning True when we had just connected.
Fix issues with auto-switch to wired. Change to how the gui handles changing state from connecting to not-connecting to be nicer. Make the gui trigger monitor state updates while in the connecting state. Make sure the monitor logs a warning when it catches a D-Bus exception. Make sure cancelling a wired connection attempt kills DHCP. Fix issue where DHCP wouldn't get run if automatic dhcp tool was enabled.
This commit is contained in:
@@ -218,6 +218,7 @@ class Controller(object):
|
||||
|
||||
def KillDHCP(self):
|
||||
""" Kill the managed DHCP client if its in a connecting state. """
|
||||
print 'running kill dhcp.'
|
||||
if (self.connecting_thread.is_connecting and
|
||||
self.iface.dhcp_object):
|
||||
if self.iface.dhcp_object.poll() is None:
|
||||
|
||||
Reference in New Issue
Block a user