[GRASS-SVN] r40290 - in grass/branches/develbranch_6/gui/wxpython: . gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 6 09:34:50 EST 2010


Author: martinl
Date: 2010-01-06 09:34:49 -0500 (Wed, 06 Jan 2010)
New Revision: 40290

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: set focus on prompt
       (merge r40289 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py	2010-01-06 14:18:53 UTC (rev 40289)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py	2010-01-06 14:34:49 UTC (rev 40290)
@@ -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/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2010-01-06 14:18:53 UTC (rev 40289)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2010-01-06 14:34:49 UTC (rev 40290)
@@ -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