[GRASS-SVN] r50245 - grass/trunk/gui/wxpython/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 17 15:29:31 EST 2012
Author: martinl
Date: 2012-01-17 12:29:31 -0800 (Tue, 17 Jan 2012)
New Revision: 50245
Modified:
grass/trunk/gui/wxpython/nviz/preferences.py
Log:
wxGUI/nviz: use nviz-related icon for 3d view settings
Modified: grass/trunk/gui/wxpython/nviz/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/preferences.py 2012-01-17 20:18:15 UTC (rev 50244)
+++ grass/trunk/gui/wxpython/nviz/preferences.py 2012-01-17 20:29:31 UTC (rev 50245)
@@ -16,6 +16,7 @@
@author Anna Kratochvilova <KratochAnna seznam.cz> (Google SoC 2011)
"""
+import os
import copy
import wx
@@ -31,6 +32,8 @@
settings = UserSettings):
PreferencesBaseDialog.__init__(self, parent = parent, title = title,
settings = settings)
+ self.SetIcon(wx.Icon(os.path.join(globalvar.ETCICONDIR, 'grass_nviz.ico'), wx.BITMAP_TYPE_ICO))
+
self.toolWin = self.parent.nviz
# create notebook pages
More information about the grass-commit
mailing list