wicd: urwid-1.3.0 compat patch via Arch.

This commit is contained in:
Juan RP 2015-01-28 08:03:20 +01:00
parent 94fd883df2
commit 0f25a7729f
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,15 @@
--- curses/wicd-curses.py 2015-01-27 22:35:25.414781192 -0300
+++ curses/wicd-curses.py 2015-01-28 01:13:48.078904587 -0300
@@ -1153,9 +1153,10 @@
if not ui._started:
return False
- input_data = ui.get_input_nonblocking()
+ ui.set_input_timeouts(max_wait=0)
+ input_data = ui.get_input()
# Resolve any "alarms" in the waiting
- self.handle_keys(input_data[1])
+ self.handle_keys(input_data)
# Update the screen
canvas = self.frame.render((self.size), True)

View File

@ -1,7 +1,7 @@
# Template file for 'wicd' # Template file for 'wicd'
pkgname=wicd pkgname=wicd
version=1.7.3 version=1.7.3
revision=1 revision=2
noarch=yes noarch=yes
build_options="systemd" build_options="systemd"
hostmakedepends="python python-setuptools python-Babel" hostmakedepends="python python-setuptools python-Babel"