[GRASS-SVN] r54106 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 30 02:07:40 PST 2012
Author: annakrat
Date: 2012-11-30 02:07:39 -0800 (Fri, 30 Nov 2012)
New Revision: 54106
Modified:
grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: fix switching page for system info
Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py 2012-11-30 10:02:40 UTC (rev 54105)
+++ grass/trunk/gui/wxpython/lmgr/frame.py 2012-11-30 10:07:39 UTC (rev 54106)
@@ -52,7 +52,7 @@
from dbmgr.manager import AttributeManager
from core.workspace import ProcessWorkspaceFile, ProcessGrcFile, WriteWorkspaceFile
from core.gconsole import GConsole, \
- EVT_CMD_OUTPUT, EVT_IGNORED_CMD_RUN, EVT_IMPORTANT_CMD_RUN
+ EVT_CMD_OUTPUT, EVT_IGNORED_CMD_RUN, EVT_IMPORTANT_CMD_RUN, EVT_WRITE_LOG
from gui_core.goutput import GConsoleWindow, EVT_GC_CONTENT_CHANGED, GC_SEARCH, GC_PROMPT
from gui_core.dialogs import GdalOutputDialog, DxfImportDialog, GdalImportDialog, MapLayersDialog
from gui_core.dialogs import EVT_APPLY_MAP_LAYERS
@@ -288,6 +288,9 @@
self.goutput.Bind(EVT_GC_CONTENT_CHANGED,
lambda event:
self._switchPageHandler(event = event, priority = 1))
+ self._gconsole.Bind(EVT_WRITE_LOG,
+ lambda event:
+ self._switchPageHandler(event = event, priority = event.priority))
self._setCopyingOfSelectedText()
# create 'search module' notebook page
@@ -941,7 +944,7 @@
platform.python_version(),
wx.__version__,
_("Platform"), platform.platform(), osgeo4w),
- switchPage = True)
+ priority = 2)
self._gconsole.WriteCmdLog(' ')
def OnAboutGRASS(self, event):
More information about the grass-commit
mailing list