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

Generic updates and a bugfix.

curses/README,curses/TODO: Cleaned up and updated respectively
curses/curses_misc.py: added a get_caption() method to MaskingEdit
curses/netentry_curses.py: Actually made the error dialogs work instead of crashing the program.
curses/wicd-curses.py: Changed some capitalization in the help.
This commit is contained in:
Andrew Psaltis
2009-04-01 19:01:00 -04:00
parent 3bfb01d039
commit 69fe67d6af
5 changed files with 12 additions and 10 deletions

View File

@@ -128,6 +128,8 @@ class MaskingEdit(urwid.Edit):
self.mask_char = mask_char
self.__super.__init__(caption,edit_text,multiline,align,wrap,allow_tab,edit_pos,layout)
def get_caption(self):
return self.caption
def get_mask_mode(self):
return self.mask_mode
def set_mask_mode(self,mode):