| 84 | self.Layout() |
| 85 | |
| 86 | def _createHeader(self): |
| 87 | self.installWindowHeader = wx.Panel(self, -1, size=(802, 69)) |
| 88 | self.installWindowHeader.SetBackgroundColour((255, 255, 255)) |
| 89 | self.windowSizer.Add(self.installWindowHeader, 0, wx.EXPAND) |
| 90 | self.addCat(_("Accessories"), |
| 91 | Variables.playonlinux_env + "/resources/images/install/32/applications-accessories.png", 0) |
| 92 | self.addCat(_("Development"), |
| 93 | Variables.playonlinux_env + "/resources/images/install/32/applications-development.png", 1) |
| 94 | self.addCat(_("Education"), Variables.playonlinux_env + "/resources/images/install/32/applications-science.png", |
| 95 | 2) |
| 96 | self.addCat(_("Games"), Variables.playonlinux_env + "/resources/images/install/32/applications-games.png", 3) |
| 97 | self.addCat(_("Graphics"), Variables.playonlinux_env + "/resources/images/install/32/applications-graphics.png", |
| 98 | 4) |
| 99 | self.addCat(_("Internet"), Variables.playonlinux_env + "/resources/images/install/32/applications-internet.png", |
| 100 | 5) |
| 101 | self.addCat(_("Multimedia"), |
| 102 | Variables.playonlinux_env + "/resources/images/install/32/applications-multimedia.png", 6) |
| 103 | self.addCat(_("Office"), Variables.playonlinux_env + "/resources/images/install/32/applications-office.png", 7) |
| 104 | self.addCat(_("Other"), Variables.playonlinux_env + "/resources/images/install/32/applications-other.png", 8) |
| 105 | self.addCat(_("Patches"), Variables.playonlinux_env + "/resources/images/install/32/view-refresh.png", 9) |
| 106 | |
| 107 | def _createBody(self): |
| 108 | self.installWindowBodyPanel = wx.Panel(self, -1) |