curses/netentry_curses.py:
Made the password field actually keep its "passwordiness" when we go to the
buttons.
in/scripts=wicd-client.in:
Added support for X being off and wicd-curses not being there
This commit is contained in:
1 parent
fe7062371c
commit
432f1c96ca
2 files changed
+34
-20
No files matched your search
@@ -192,11 +192,16 @@ class AdvancedSettingsDialog(urwid.WidgetWrap):
|
||||
self.overlay.mouse_event( dim,
|
||||
event, button, col, row,
|
||||
focus=True)
|
||||
k = self.overlay.keypress(dim, k)
|
||||
if k in ('up','page up'):
|
||||
self._w.set_focus('body')
|
||||
elif k in ('down','page down'):
|
||||
self._w.set_focus('footer')
|
||||
else:
|
||||
k = self.overlay.keypress(dim, k)
|
||||
if k in ('up','page up'):
|
||||
self._w.set_focus('body')
|
||||
# Until I figure out a better way to do this, then this will
|
||||
# have to do.
|
||||
self._w.body.get_focus()[0].get_focus()._invalidate()
|
||||
#self._w.body.keypress(dim,'down')
|
||||
elif k in ('down','page down'):
|
||||
self._w.set_focus('footer')
|
||||
|
||||
if "window resize" in keys:
|
||||
dim = ui.get_cols_rows()
|
||||
|
||||
Reference in new issue
Block a user