mirror of
https://github.com/gryf/wicd.git
synced 2026-01-07 14:24:22 +01:00
Fixed most keypresses not working.
This commit is contained in:
@@ -222,7 +222,7 @@ def help_dialog(body):
|
|||||||
])
|
])
|
||||||
textF = urwid.Text('Press any key to return.')
|
textF = urwid.Text('Press any key to return.')
|
||||||
|
|
||||||
# textJ = urwid.Text('Nobody expects the Spanish Inquisition!')
|
# textJ = urwid.Text(('important','Nobody expects the Spanish Inquisition!'))
|
||||||
|
|
||||||
blank = urwid.Text('')
|
blank = urwid.Text('')
|
||||||
# Pile containing a text and columns?
|
# Pile containing a text and columns?
|
||||||
@@ -902,6 +902,7 @@ class appGUI():
|
|||||||
self.diag.save_settings()
|
self.diag.save_settings()
|
||||||
self.restore_primary()
|
self.restore_primary()
|
||||||
for k in keys:
|
for k in keys:
|
||||||
|
self.frame.keypress(self.size,k)
|
||||||
if urwid.is_mouse_event(k):
|
if urwid.is_mouse_event(k):
|
||||||
event, button, col, row = k
|
event, button, col, row = k
|
||||||
self.frame.mouse_event( self.size,
|
self.frame.mouse_event( self.size,
|
||||||
|
|||||||
Reference in New Issue
Block a user