diff --git a/mambabase/WelcomePage.ui b/mambabase/WelcomePage.ui index 6d3339f..6d981ff 100644 --- a/mambabase/WelcomePage.ui +++ b/mambabase/WelcomePage.ui @@ -88,22 +88,12 @@ - + - <html><head/><body><p><span style=" font-style:italic;">mambabase - Copyright (c) 2007-2021 by Silvan Calarco<br/>Released under the terms of the GNU GPL v3 license</span></p></body></html> + <html><head/><body><p><br/></p></body></html> - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - - - - - <html><head/><body><p><a href="https://openmamba.org"><span style=" text-decoration: underline; color:#2980b9;">openmamba.org</span></a></p></body></html> - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + Qt::AlignCenter diff --git a/mambabase/mambabase.py b/mambabase/mambabase.py index 40b7a47..8de7e40 100755 --- a/mambabase/mambabase.py +++ b/mambabase/mambabase.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2019-2021 by Silvan Calarco +# Copyright (c) 2019-2022 by Silvan Calarco # Release under the terms of the GPL version 3 license from PyQt5 import QtGui, QtCore, QtWidgets, uic @@ -9,6 +9,7 @@ from pathlib import Path import gettext import subprocess import os +import distro import gi gi.require_version('PackageKitGlib', '1.0') @@ -21,6 +22,7 @@ class MambabaseWizard(QtWidgets.QWizard): def __init__(self, parent=None): super(MambabaseWizard, self).__init__(parent) self.welcomePage = WelcomePage(self) + self.welcomePage.distroInfoLabel.setText(distro.name(pretty=True)) self.addPage(self.welcomePage) self.selectGroupsPage = SelectGroupsPage(self) self.addPage(self.selectGroupsPage) @@ -29,7 +31,7 @@ class MambabaseWizard(QtWidgets.QWizard): self.installationPage = InstallationPage(self) self.addPage(self.installationPage) self.setWindowTitle(_("openmamba base network installations") + - " - openmamba.org") + " - " + distro.name()) self.setFixedSize(571,465) self.currentIdChanged.connect(self.currentIdChangedSlot) self.prepareThread = PrepareThread(self)