29 self.setupUi(self) |
29 self.setupUi(self) |
30 |
30 |
31 self.iconLabel.setPixmap( |
31 self.iconLabel.setPixmap( |
32 UI.PixmapCache.getPixmap("adBlockPlusGreen48.png")) |
32 UI.PixmapCache.getPixmap("adBlockPlusGreen48.png")) |
33 |
33 |
34 self.hostEdit.setInactiveText(self.trUtf8("Enter host to be added...")) |
34 self.hostEdit.setInactiveText(self.tr("Enter host to be added...")) |
35 |
35 |
36 self.buttonBox.setFocus() |
36 self.buttonBox.setFocus() |
37 |
37 |
38 def load(self, hosts): |
38 def load(self, hosts): |
39 """ |
39 """ |