[GRASS-SVN] r50246 - grass/branches/develbranch_6/gui/wxpython/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 17 15:31:11 EST 2012


Author: martinl
Date: 2012-01-17 12:31:11 -0800 (Tue, 17 Jan 2012)
New Revision: 50246

Modified:
   grass/branches/develbranch_6/gui/wxpython/nviz/preferences.py
Log:
wxGUI/nviz: use nviz-related icon for 3d view settings
	    (merge r50245 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/nviz/preferences.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/nviz/preferences.py	2012-01-17 20:29:31 UTC (rev 50245)
+++ grass/branches/develbranch_6/gui/wxpython/nviz/preferences.py	2012-01-17 20:31:11 UTC (rev 50246)
@@ -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