[GRASS-SVN] r67868 - grass/trunk/gui/wxpython/datacatalog

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 17 10:54:46 PST 2016


Author: martinl
Date: 2016-02-17 10:54:46 -0800 (Wed, 17 Feb 2016)
New Revision: 67868

Modified:
   grass/trunk/gui/wxpython/datacatalog/frame.py
Log:
g.gui.gdatacatalog: set icon

Modified: grass/trunk/gui/wxpython/datacatalog/frame.py
===================================================================
--- grass/trunk/gui/wxpython/datacatalog/frame.py	2016-02-17 15:43:03 UTC (rev 67867)
+++ grass/trunk/gui/wxpython/datacatalog/frame.py	2016-02-17 18:54:46 UTC (rev 67868)
@@ -15,9 +15,12 @@
 @author Tereza Fiedlerova
 """
 
+import os
+
 import wx
 
 from core.utils import _
+from core.globalvar import ICONDIR
 from datacatalog.tree import DataCatalogTree
 
 
@@ -26,6 +29,8 @@
     def __init__(self, parent, giface=None):
         wx.Frame.__init__(self, parent=parent,
                           title=_('GRASS GIS Data Catalog (experimetal)'))
+        self.SetName("DataCatalog")
+        self.SetIcon(wx.Icon(os.path.join(ICONDIR, 'grass.ico'), wx.BITMAP_TYPE_ICO))
 
         self._giface = giface
         self.panel = wx.Panel(self)



More information about the grass-commit mailing list