[GRASS-SVN] r46792 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 26 13:23:31 EDT 2011
Author: martinl
Date: 2011-06-26 10:23:31 -0700 (Sun, 26 Jun 2011)
New Revision: 46792
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: wx.psmap integrated, not need for special check
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2011-06-26 16:35:35 UTC (rev 46791)
+++ grass/trunk/gui/wxpython/wxgui.py 2011-06-26 17:23:31 UTC (rev 46792)
@@ -81,6 +81,7 @@
from gui_modules import gmodeler
from gui_modules import vclean
from gui_modules import nviz_tools
+from gui_modules import psmap
from gui_modules.debug import Debug
from gui_modules.ghelp import MenuTreeWindow, AboutWindow, InstallExtensionWindow
from gui_modules.toolbars import LMWorkspaceToolbar, LMDataToolbar, LMToolsToolbar, LMMiscToolbar
@@ -320,14 +321,6 @@
def OnPsMap(self, event):
"""!Launch Hardcopy Map Output Utility
"""
- try:
- from gui_modules import psmap
- except:
- gcmd.GError(parent = self.parent,
- message = _("Hardcopy Map Output Utility is not available. You can install it by %s") % \
- 'g.extension -s svnurl=https://svn.osgeo.org/grass/grass-addons extension=wx.psmap')
- return
-
win = psmap.PsMapFrame(parent = self)
win.CentreOnScreen()
More information about the grass-commit
mailing list