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:
@@ -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:
|
||||
|
||||
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user