qweboobcfg: display website of backend in description in any

This commit is contained in:
Romain Bignon 2010-08-20 09:19:21 +02:00
commit 31445de767
3 changed files with 9 additions and 2 deletions

View file

@ -272,6 +272,7 @@ class BackendCfg(QDialog):
'<b>Version</b>: %s<br />'
'<b>Maintainer</b>: %s<br />'
'<b>License</b>: %s<br />'
'%s'
'<b>Description</b>: %s<br />'
'<b>Capabilities</b>: %s<br />'))
% ('<img src="mydata://logo.png" />' if backend.icon_path else '',
@ -279,6 +280,7 @@ class BackendCfg(QDialog):
backend.version,
backend.maintainer.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;'),
backend.license,
('<b>Website</b>: %s<br />' % backend.website) if backend.website else '',
backend.description,
', '.join([cap.__name__ for cap in backend.iter_caps()])))