beremiz

25e3bf6e193d
Parents 6e1ea3451c23
Children ad3dee8b6d48
change white background for project tree element to transparent

because on GNU/Linux project tree has grey background, therefore
white background looks not good.
  • +1 -2
    IDEFrame.py
  • --- a/IDEFrame.py Fri Jan 13 20:05:59 2017 +0300
    +++ b/IDEFrame.py Mon Jan 16 12:15:20 2017 +0300
    @@ -1491,8 +1491,7 @@
    item_name = _(item_name)
    self.ProjectTree.SetItemText(root, item_name)
    self.ProjectTree.SetPyData(root, infos)
    - highlight_colours = self.Highlights.get(infos.get("tagname", None), (wx.WHITE, wx.BLACK))
    - self.ProjectTree.SetItemBackgroundColour(root, highlight_colours[0])
    + highlight_colours = self.Highlights.get(infos.get("tagname", None), (wx.Colour(255, 255, 255, 0), wx.BLACK))
    self.ProjectTree.SetItemTextColour(root, highlight_colours[1])
    self.ProjectTree.SetItemExtraImage(root, None)
    if infos["type"] == ITEM_POU: