1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-22 14:07:59 +01:00

curses/wicd-curses.py:

Made the tagged wireless network actually show the network we're connected to,
    or not, as the case may be.
  Added ' -- ' to the upper statusbar

Also, in the last commit, configscript_curses should be netentry_curses
This commit is contained in:
Andrew Psaltis
2009-01-31 02:07:50 -05:00
parent a89e45f0c8
commit b86ec8667c
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'):