Control: retitle -1 wicd-daemon: no autoconnect when GUI is open

I've done some tests in debug mode, and could see that messages
like "Autoconnecting..." that normally occur every 3 minutes are
absent when the GUI is open.

This reminds me bug 582567:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582567

where the problem was:

> Perhaps the following needs to be modified too:
> 
>     def ShouldAutoReconnect(self):
>         """ Returns True if it's the right time to try autoreconnecting. """
>         if self.GetAutoReconnect() and not self.CheckIfConnecting() and \
>            not self.GetForcedDisconnect() and not self.auto_connecting and \
>            not self.gui_open:
>             return True
>         else:
>             return False
> 
> i.e. remove "and not self.gui_open".

and I see that there is still the same code! So, bug 582567 has
reappered!

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to