1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00

curses/curses_misc.py: Added a colon to each entry in OptCols

curses/wicd-curses.py: 
  Removed the 'print ""' from the end of the main entry point
  Changed the infobar colors to grey on dark blue
This commit is contained in:
Andrew Psaltis
2009-03-01 23:53:59 -05:00
parent 1bf166afe0
commit ab878c231f
2 changed files with 3 additions and 3 deletions

View File

@@ -557,7 +557,7 @@ class OptCols(urwid.WidgetWrap):
args = cmd[1]
#self.callbacks.append(cmd[2])
col = ClickCols([
('fixed',len(key),urwid.Text((attrs[0],key)) ),
('fixed',len(key)+1,urwid.Text((attrs[0],key+':')) ),
urwid.AttrWrap(urwid.Text(cmd[1]),attrs[1])],
callback,args)
#if i != len(tuples)-1:

View File

@@ -902,7 +902,7 @@ def main():
('editfc', 'white','dark blue', 'bold'),
('editnfc','dark gray','default'),
('tab active','dark green','light gray'),
('infobar','black','dark blue'),
('infobar','light gray','dark blue'),
# Simple colors around text
('green','dark green','default'),
('blue','dark blue','default'),
@@ -975,4 +975,4 @@ if __name__ == '__main__':
main()
# Make sure that the terminal does not try to overwrite the last line of
# the program, so that everything looks pretty.
print ""
#print ""