[GRASS-SVN] r59246 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 13 08:34:01 PDT 2014


Author: neteler
Date: 2014-03-13 08:33:59 -0700 (Thu, 13 Mar 2014)
New Revision: 59246

Modified:
   grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: also show the mapset in map display window title

Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py	2014-03-13 11:24:41 UTC (rev 59245)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py	2014-03-13 15:33:59 UTC (rev 59246)
@@ -176,10 +176,11 @@
                                    Map = self.Map)
         
         # title
-        self.mapdisplay.SetTitle(_("GRASS GIS %(version)s Map Display: %(id)d  - Location: %(loc)s") % \
+        self.mapdisplay.SetTitle(_("GRASS GIS %(version)s Map Display: %(id)d  - Location: %(loc)s@%(mapset)s") % \
                                      { 'version' : grass.version()['version'],
                                        'id' : self.displayIndex + 1,
-                                       'loc' : grass.gisenv()["LOCATION_NAME"] })
+                                       'loc' : grass.gisenv()["LOCATION_NAME"],
+                                       'mapset' : grass.gisenv()["MAPSET"] })
         
         # show new display
         if showMapDisplay is True:



More information about the grass-commit mailing list