[GRASS-SVN] r40289 - in grass/trunk/gui/wxpython: . gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 6 09:18:53 EST 2010
Author: martinl
Date: 2010-01-06 09:18:53 -0500 (Wed, 06 Jan 2010)
New Revision: 40289
Modified:
grass/trunk/gui/wxpython/gui_modules/prompt.py
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: set focus on prompt
Modified: grass/trunk/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/prompt.py 2010-01-06 14:11:44 UTC (rev 40288)
+++ grass/trunk/gui/wxpython/gui_modules/prompt.py 2010-01-06 14:18:53 UTC (rev 40289)
@@ -10,7 +10,7 @@
- GPromptPopUp
- GPromptSTC
-(C) 2009 by the GRASS Development Team
+(C) 2009-2010 by the GRASS Development Team
This program is free software under the GNU General Public
License (>=v2). Read the file COPYING that comes with GRASS
for details.
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2010-01-06 14:11:44 UTC (rev 40288)
+++ grass/trunk/gui/wxpython/wxgui.py 2010-01-06 14:18:53 UTC (rev 40289)
@@ -357,7 +357,8 @@
if page == self.goutput.pageid:
# remove '(...)'
self.notebook.SetPageText(page, _("Command console"))
-
+ self.goutput.cmd_prompt.SetSTCFocus(True)
+
event.Skip()
def OnCBPageClosed(self, event):
More information about the grass-commit
mailing list