[GRASS-SVN] r45490 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 28 15:38:53 EST 2011
Author: martinl
Date: 2011-02-28 12:38:53 -0800 (Mon, 28 Feb 2011)
New Revision: 45490
Modified:
grass/trunk/gui/wxpython/gui_modules/toolbars.py
Log:
wxGUI: code cosmetics
Modified: grass/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py 2011-02-28 19:50:59 UTC (rev 45489)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py 2011-02-28 20:38:53 UTC (rev 45490)
@@ -41,9 +41,8 @@
from nviz import haveNviz
from nviz_preferences import NvizPreferencesDialog
-gmpath = os.path.join(globalvar.ETCWXDIR, "icons")
-sys.path.append(gmpath)
-from icon import Icons as Icons
+sys.path.append(os.path.join(globalvar.ETCWXDIR, "icons"))
+from icon import Icons
class AbstractToolbar(wx.ToolBar):
"""!Abstract toolbar class"""
More information about the grass-commit
mailing list