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

Fixed cancelling a connection not working.

Stopped the gui status bar from updating while the gui is closed, which reduces CPU usage and should hopefully fix problems with hibernation not working while wicd was running.
This commit is contained in:
imdano
2007-12-19 22:35:07 +00:00
parent da4d84b793
commit 8a0a471764
3 changed files with 70 additions and 7 deletions

View File

@@ -679,7 +679,7 @@ class ConnectionWizard(dbus.service.Object):
''' Cancels the wireless connection attempt '''
print 'canceling connection attempt'
if not self.wifi.connecting_thread == None:
self.wifi.connecting_thread.ShouldDie = True
self.wifi.connecting_thread.should_die = True
misc.Run("killall dhclient dhclient3 wpa_supplicant")
#end function CancelConnect