(self)
| 176 | self.setType() |
| 177 | |
| 178 | def _getLabel(self): |
| 179 | if self.address is None: |
| 180 | return unicode(_translate( |
| 181 | "MainWindow", "All accounts").toUtf8(), 'utf-8', 'ignore') |
| 182 | else: |
| 183 | try: |
| 184 | return unicode( |
| 185 | BMConfigParser().get(self.address, 'label'), |
| 186 | 'utf-8', 'ignore') |
| 187 | except: |
| 188 | return unicode(self.address, 'utf-8') |
| 189 | |
| 190 | def _getAddressBracket(self, unreadCount = False): |
| 191 | ret = "" |
no test coverage detected