1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 12:58:07 +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

@@ -197,7 +197,7 @@ def about_dialog(body):
# Modeled after htop's help
def help_dialog(body):
textT = urwid.Text(('header','Wicd-curses help'),'right')
textT = urwid.Text(('header','wicd-curses help'),'right')
textSH = urwid.Text(['This is ',('blue','wicd-curses-'+CURSES_REVNO),' using wicd ',unicode(daemon.Hello()),'\n'])
textH = urwid.Text([
@@ -849,7 +849,7 @@ class appGUI():
else:
# wireless list only other option
wid,pos = self.thePile.get_focus().get_focus()
self.diag = WirelessSettingsDialog(pos)
self.diag = WirelessSettingsDialog(pos,self.frame)
self.diag.ready_widgets(ui,self.frame)
self.frame.set_body(self.diag)
# Guess what! I actually need to put this here, else I'll have