diff --git a/curses/wicd-curses.py b/curses/wicd-curses.py index a8fb3c8..1b59b54 100644 --- a/curses/wicd-curses.py +++ b/curses/wicd-curses.py @@ -204,7 +204,7 @@ def gen_network_list(): wlessL = [] # This one makes a list of NetLabels for network_id in range(0, wireless.GetNumberOfNetworks()): - is_active = wireless.GetCurrentSignalStrength("") != 0 and wireless.GetCurrentNetworkID(wireless.GetIwconfig())==network_id + is_active = wireless.GetCurrentSignalStrength("") != 0 and wireless.GetCurrentNetworkID(wireless.GetIwconfig())==network_id and wireless.GetWirelessIP('') != None label = NetLabel(network_id,is_active) wlessL.append(label) @@ -730,7 +730,7 @@ class appGUI(): # theText += self.special if self.connecting: theText += "-- "+language['connecting']+' -- '+language["esc_to_cancel"] - quit_note = language["press_to_quit"] + quit_note = ' -- '+language["press_to_quit"] self.footer1 = urwid.Text(str(self.incr) + theText+quit_note,wrap='clip') self.incr+=1 return True diff --git a/setup.py b/setup.py index 51da700..2cd9e0c 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ import subprocess # VERSIONNUMBER VERSION_NUM = '1.6.0' REVISION_NUM = 'unknown' -CURSES_REVNO = 'r266' +CURSES_REVNO = 'r269' try: if not os.path.exists('vcsinfo.py'):