1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 15:12:31 +01:00

Merged latest from NaCl.

This commit is contained in:
Robby Workman
2009-01-31 01:16:34 -06:00
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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'):