mirror of
https://github.com/gryf/wicd.git
synced 2026-03-29 16:33:32 +02:00
Made a bunch of small logic improvements.
Fixed some remaining bugs from the gui.py refactoring.
This commit is contained in:
2
wicd.py
2
wicd.py
@@ -177,7 +177,7 @@ class TrayIcon():
|
||||
cur_network + "...")
|
||||
self.tr.set_from_file(wpath.images + "no-signal.png")
|
||||
|
||||
elif state == misc.NOT_CONNECTED:
|
||||
elif state in (misc.SUSPENDED, misc.NOT_CONNECTED):
|
||||
self.tr.set_from_file(wpath.images + "no-signal.png")
|
||||
if wireless.GetKillSwitchEnabled():
|
||||
status = (language['not_connected'] + " (" +
|
||||
|
||||
Reference in New Issue
Block a user