1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 12:58:07 +01:00

Fixed some bugs/usability issues

Enter is no longer mapped to anything
Arrow left is no longer mapped to anything
Edit text when it is unfocusable is now brown.
Fixed problem where scrolling up on the Preferences Dialog would somehow shift the dab over one.
This commit is contained in:
Andrew Psaltis
2009-03-11 10:21:20 -04:00
parent df6955b963
commit 2d3745f39b
2 changed files with 14 additions and 13 deletions

View File

@@ -206,13 +206,13 @@ class TabColumns(urwid.WidgetWrap):
return True
def keypress(self,size,key):
key = self._w.keypress(size,key)
if key == "meta [" or key == "meta ]":
self._w.get_body().set_focus(0)
newK = 'left' if key[-1] == '[' else 'right'
self.keypress(size,newK)
self._w.get_body().set_focus(1)
else:
key = self._w.keypress(size,key)
wid = self.pile.get_focus().get_body()
if wid == self.columns:
# lw = self.listbox.body