[GRASS-SVN] r60014 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 1 09:36:13 PDT 2014


Author: martinl
Date: 2014-05-01 09:36:13 -0700 (Thu, 01 May 2014)
New Revision: 60014

Modified:
   grass/trunk/gui/wxpython/gui_core/ghelp.py
Log:
wxGUI: fix flags file path


Modified: grass/trunk/gui/wxpython/gui_core/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/ghelp.py	2014-05-01 16:23:49 UTC (rev 60013)
+++ grass/trunk/gui/wxpython/gui_core/ghelp.py	2014-05-01 16:36:13 UTC (rev 60014)
@@ -429,8 +429,7 @@
                                                             label = email))
                     translatorsBox.Add(item = wx.StaticText(parent = translatorswin, id = wx.ID_ANY,
                                                             label = lang))                                                            
-                    flag = os.path.join(os.getenv("GISBASE"), "etc", "gui", 
-                            "icons", "flags", "%s.png" % lang.lower())
+                    flag = os.path.join(globalvar.ICONDIR, "flags", "%s.png" % lang.lower())
                     if os.path.exists(flag):
                         flagBitmap = wx.StaticBitmap(parent = translatorswin, id = wx.ID_ANY,
                                      bitmap = wx.Bitmap(name = flag,



More information about the grass-commit mailing list