[GRASS-SVN] r61376 - sandbox/krejcmat/src
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 23 08:04:31 PDT 2014
Author: martinl
Date: 2014-07-23 08:04:31 -0700 (Wed, 23 Jul 2014)
New Revision: 61376
Modified:
sandbox/krejcmat/src/g.gui.metadata.py
Log:
fix icon path
Modified: sandbox/krejcmat/src/g.gui.metadata.py
===================================================================
--- sandbox/krejcmat/src/g.gui.metadata.py 2014-07-23 14:55:02 UTC (rev 61375)
+++ sandbox/krejcmat/src/g.gui.metadata.py 2014-07-23 15:04:31 UTC (rev 61376)
@@ -205,7 +205,7 @@
self.toolbar.AddSeparator()
bitmapLoad = wx.Image(
- 'icon/open-trad.png',
+ os.path.join(os.environ['GISBASE'], 'gui', 'icons', 'grass', 'open.png'),
wx.BITMAP_TYPE_PNG).ConvertToBitmap()
self.bttLoad = BitmapBtnTxt(
self.toolbar, -1, bitmapLoad, "template", size=(100, -1))
@@ -214,7 +214,7 @@
self.toolbar.AddSeparator()
bitmapSave = wx.Image(
- 'icon/save-trad.png',
+ os.path.join(os.environ['GISBASE'], 'gui', 'icons', 'grass', 'save.png'),
wx.BITMAP_TYPE_PNG).ConvertToBitmap()
self.bttsave = BitmapBtnTxt(
self.toolbar, -1, bitmapSave, "export", size=(100, -1))
More information about the grass-commit
mailing list