1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-21 21:38:06 +01:00

Re-enabled "enter" in wicd-curses.py.

This commit is contained in:
Andrew Psaltis
2009-03-19 12:48:28 -04:00
parent 3c740d0cf1
commit 547a3f1b88

View File

@@ -831,15 +831,15 @@ class appGUI():
# Guess what! I actually need to put this here, else I'll have
# tons of references to self.frame lying around. ^_^
if "enter" in keys:
pass
#focus = self.frame.body.get_focus()
#if focus == self.wiredCB:
# self.special = focus
# self.connect("wired",0)
#else:
# # wless list only other option
# wid,pos = self.thePile.get_focus().get_focus()
# self.connect("wireless",pos)
#pass
focus = self.frame.body.get_focus()
if focus == self.wiredCB:
self.special = focus
self.connect("wired",0)
else:
# wless list only other option
wid,pos = self.thePile.get_focus().get_focus()
self.connect("wireless",pos)
if "esc" in keys:
# Force disconnect here if connection in progress