wicd: fix wicd-curses with new urwid

See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=894646 — without
this patch, wicd-curses throws an AttributeError on startup. The patch
is a cut-down version of the one added there by Pavel Zhukov.

authored by Matti Niemenmaa and committed by Cray Elliott 85e405c1 29b3353a

+22
+1
pkgs/tools/networking/wicd/default.nix
··· 20 ./dhclient.patch 21 ./fix-app-icon.patch 22 ./fix-gtk-issues.patch 23 ]; 24 25 # Should I be using pygtk's propogated build inputs?
··· 20 ./dhclient.patch 21 ./fix-app-icon.patch 22 ./fix-gtk-issues.patch 23 + ./urwid-api-update.patch 24 ]; 25 26 # Should I be using pygtk's propogated build inputs?
+21
pkgs/tools/networking/wicd/urwid-api-update.patch
···
··· 1 + --- a/curses/curses_misc.py 2 + +++ a/curses/curses_misc.py 3 + @@ -358,6 +358,19 @@ class ComboBox(urwid.WidgetWrap): 4 + self.parent = None 5 + self.ui = None 6 + self.row = None 7 + + 8 + + @property 9 + + def focus(self): 10 + + return self._focus 11 + + 12 + + @focus.setter 13 + + def focus(self, index): 14 + + self._focus = index 15 + + 16 + + @focus.deleter 17 + + def focus(self): 18 + + del self._focus 19 + + 20 + def set_list(self,list): 21 + self.list = list