[GRASS-SVN] r49568 - grass/trunk/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 6 12:29:51 EST 2011


Author: martinl
Date: 2011-12-06 09:29:51 -0800 (Tue, 06 Dec 2011)
New Revision: 49568

Modified:
   grass/trunk/gui/wxpython/modules/extensions.py
Log:
wxGUI/extension: define window icon


Modified: grass/trunk/gui/wxpython/modules/extensions.py
===================================================================
--- grass/trunk/gui/wxpython/modules/extensions.py	2011-12-06 17:22:42 UTC (rev 49567)
+++ grass/trunk/gui/wxpython/modules/extensions.py	2011-12-06 17:29:51 UTC (rev 49568)
@@ -40,6 +40,7 @@
         self.options = dict() # list of options
         
         wx.Frame.__init__(self, parent = parent, id = id, title = title, **kwargs)
+        self.SetIcon(wx.Icon(os.path.join(globalvar.ETCICONDIR, 'grass.ico'), wx.BITMAP_TYPE_ICO))
         
         self.panel = wx.Panel(parent = self, id = wx.ID_ANY)
 



More information about the grass-commit mailing list