Browse Source

wxGUI: menu tree window icon
(merge https://trac.osgeo.org/grass/changeset/39939 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39940 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 15 years ago
parent
commit
9c2e18cafa
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gui/wxpython/gui_modules/help.py

+ 2 - 0
gui/wxpython/gui_modules/help.py

@@ -63,6 +63,8 @@ class MenuTreeWindow(wx.Frame):
         
         
         wx.Frame.__init__(self, parent = parent, id = id, title = title, **kwargs)
         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)
         self.panel = wx.Panel(parent = self, id = wx.ID_ANY)
         self.dataBox = wx.StaticBox(parent = self.panel, id = wx.ID_ANY,
         self.dataBox = wx.StaticBox(parent = self.panel, id = wx.ID_ANY,
                                     label=" %s " % _("Menu tree (double-click to run command)"))        
                                     label=" %s " % _("Menu tree (double-click to run command)"))