From ab878c231f45ed3c149052689e4f09e11c608908 Mon Sep 17 00:00:00 2001 From: Andrew Psaltis Date: Sun, 1 Mar 2009 23:53:59 -0500 Subject: [PATCH] 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 --- curses/curses_misc.py | 2 +- curses/wicd-curses.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/curses/curses_misc.py b/curses/curses_misc.py index 0a3de8f..7559431 100644 --- a/curses/curses_misc.py +++ b/curses/curses_misc.py @@ -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: diff --git a/curses/wicd-curses.py b/curses/wicd-curses.py index b9d66bb..e046970 100644 --- a/curses/wicd-curses.py +++ b/curses/wicd-curses.py @@ -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 ""