Author: bugman Date: Wed Sep 29 11:43:53 2010 New Revision: 11613 URL: http://svn.gna.org/viewcvs/relax?rev=11613&view=rev Log: The relax prompt GUI element now has focus. Modified: branches/bieri_gui/gui_bieri/relax_prompt.py Modified: branches/bieri_gui/gui_bieri/relax_prompt.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/relax_prompt.py?rev=11613&r1=11612&r2=11613&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/relax_prompt.py (original) +++ branches/bieri_gui/gui_bieri/relax_prompt.py Wed Sep 29 11:43:53 2010 @@ -83,6 +83,9 @@ self.prompt.StyleSetSpec(stc.STC_P_DEFNAME, "fore:#008b8b") self.prompt.StyleSetSpec(stc.STC_P_CLASSNAME, "fore:#008b8b") + # Set the focus. + self.prompt.setFocus() + # Override the exiting commands. for name in ['exit', 'bye', 'quit', 'q']: self.prompt.interp.locals[name] = _Exit(fn=self.gui.exit_gui)