1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-08 14:54:15 +01:00

Modified 1.6-urwid-0.9.9-compat to be compatible with 0.9.8.4.

This should be compatible with 0.9.9 as well.
This commit is contained in:
Andrew Psaltis
2009-08-06 23:58:13 -04:00
parent 6d70e917ad
commit 1930680787
2 changed files with 8 additions and 12 deletions

View File

@@ -204,7 +204,8 @@ class TabColumns(urwid.WidgetWrap):
])
if not firstrun:
self.frame.set_body(self.pile)
self._set_w(self.frame)
self._w = self.frame
self._invalidate()
def selectable(self):
return True
@@ -375,7 +376,8 @@ class ComboBox(urwid.WidgetWrap):
self.overlay = self.ComboSpace(self.list,parent,ui,self.focus,
pos=(0,row))
self._set_w(w)
self._w = w
self._invalidate()
self.parent = parent
self.ui = ui
self.row = row