From 547a3f1b889f842c84111a990f42aab13cb5c4c5 Mon Sep 17 00:00:00 2001 From: Andrew Psaltis Date: Thu, 19 Mar 2009 12:48:28 -0400 Subject: [PATCH] Re-enabled "enter" in wicd-curses.py. --- curses/wicd-curses.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/curses/wicd-curses.py b/curses/wicd-curses.py index 9f574bc..17bf242 100755 --- a/curses/wicd-curses.py +++ b/curses/wicd-curses.py @@ -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