mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48: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]
|
args = cmd[1]
|
||||||
#self.callbacks.append(cmd[2])
|
#self.callbacks.append(cmd[2])
|
||||||
col = ClickCols([
|
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])],
|
urwid.AttrWrap(urwid.Text(cmd[1]),attrs[1])],
|
||||||
callback,args)
|
callback,args)
|
||||||
#if i != len(tuples)-1:
|
#if i != len(tuples)-1:
|
||||||
|
|||||||
@@ -902,7 +902,7 @@ def main():
|
|||||||
('editfc', 'white','dark blue', 'bold'),
|
('editfc', 'white','dark blue', 'bold'),
|
||||||
('editnfc','dark gray','default'),
|
('editnfc','dark gray','default'),
|
||||||
('tab active','dark green','light gray'),
|
('tab active','dark green','light gray'),
|
||||||
('infobar','black','dark blue'),
|
('infobar','light gray','dark blue'),
|
||||||
# Simple colors around text
|
# Simple colors around text
|
||||||
('green','dark green','default'),
|
('green','dark green','default'),
|
||||||
('blue','dark blue','default'),
|
('blue','dark blue','default'),
|
||||||
@@ -975,4 +975,4 @@ if __name__ == '__main__':
|
|||||||
main()
|
main()
|
||||||
# Make sure that the terminal does not try to overwrite the last line of
|
# Make sure that the terminal does not try to overwrite the last line of
|
||||||
# the program, so that everything looks pretty.
|
# the program, so that everything looks pretty.
|
||||||
print ""
|
#print ""
|
||||||
|
|||||||
Reference in New Issue
Block a user