remove 'ICap' string from displayed capabilities names
This commit is contained in:
parent
8fb1068a90
commit
fb5e8cfbaa
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ class BackendCfg(QDialog):
|
||||||
backend.license,
|
backend.license,
|
||||||
(unicode(self.tr('<b>Website</b>: %s<br />')) % backend.website) if backend.website else '',
|
(unicode(self.tr('<b>Website</b>: %s<br />')) % backend.website) if backend.website else '',
|
||||||
backend.description,
|
backend.description,
|
||||||
', '.join([cap.__name__ for cap in backend.iter_caps()])))
|
', '.join(sorted([cap.__name__.replace('ICap', '') for cap in backend.iter_caps()]))))
|
||||||
|
|
||||||
if backend.has_caps(ICapAccount) and self.ui.nameEdit.isEnabled() and backend.klass.ACCOUNT_REGISTER_PROPERTIES is not None:
|
if backend.has_caps(ICapAccount) and self.ui.nameEdit.isEnabled() and backend.klass.ACCOUNT_REGISTER_PROPERTIES is not None:
|
||||||
self.ui.registerButton.show()
|
self.ui.registerButton.show()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue