mirror of
https://github.com/gryf/wicd.git
synced 2026-02-27 21:05:47 +01:00
Merge "Tom Van Braeckel 2014-11-05 Automatic reconnect: honour the automatic reconnect configuration, even if the GUI interface is open"
This commit is contained in:
@@ -367,11 +367,6 @@ class WicdDaemon(dbus.service.Object, object):
|
|||||||
if self.debug_mode:
|
if self.debug_mode:
|
||||||
print 'Already connecting, doing nothing.'
|
print 'Already connecting, doing nothing.'
|
||||||
return
|
return
|
||||||
# We don't want to rescan/connect if the gui is open.
|
|
||||||
if self.gui_open:
|
|
||||||
if self.debug_mode:
|
|
||||||
print "Skipping autoconnect because GUI is open."
|
|
||||||
return
|
|
||||||
if self.wired_bus.CheckPluggedIn():
|
if self.wired_bus.CheckPluggedIn():
|
||||||
if self.debug_mode:
|
if self.debug_mode:
|
||||||
print "Starting wired autoconnect..."
|
print "Starting wired autoconnect..."
|
||||||
|
|||||||
Reference in New Issue
Block a user