Add distribution home_url to welcome page
This commit is contained in:
parent
4918d977bd
commit
f892d19c65
@ -22,7 +22,9 @@ class MambabaseWizard(QtWidgets.QWizard):
|
|||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
super(MambabaseWizard, self).__init__(parent)
|
super(MambabaseWizard, self).__init__(parent)
|
||||||
self.welcomePage = WelcomePage(self)
|
self.welcomePage = WelcomePage(self)
|
||||||
self.welcomePage.distroInfoLabel.setText(distro.name(pretty=True))
|
self.welcomePage.distroInfoLabel.setText(distro.name(pretty=True) +
|
||||||
|
"<br/><br/><a href=\""+distro.os_release_info()['home_url']+
|
||||||
|
"\">" + distro.os_release_info()['home_url'] + "</a>")
|
||||||
self.welcomePage.mainTextLabel.setText(
|
self.welcomePage.mainTextLabel.setText(
|
||||||
self.welcomePage.mainTextLabel.text().format(distro.name()))
|
self.welcomePage.mainTextLabel.text().format(distro.name()))
|
||||||
self.addPage(self.welcomePage)
|
self.addPage(self.welcomePage)
|
||||||
|
Loading…
Reference in New Issue
Block a user