Updated the about box to credit the icon creator. Temporary solution until the box is redesigned.

This commit is contained in:
Veronica K. B. Olsen
2020-05-14 18:46:30 +02:00
parent 0eb4319fc1
commit 544a9d56bd
+5
View File
@@ -148,6 +148,7 @@ class GuiMainMenu(QMenuBar):
credits = "<br/>".join(["%s%s" % (listPrefix, x) for x in nw.__credits__]),
)
theTheme = self.theParent.theTheme
theIcons = self.theParent.theTheme.theIcons
if theTheme.themeCredit != "" or theTheme.syntaxCredit != "":
aboutMsg += "<h4>GUI Theme and Syntax Highlighting</h4>"
aboutMsg += "<p>"
@@ -155,6 +156,10 @@ class GuiMainMenu(QMenuBar):
aboutMsg += "%s\"%s\" by %s<br/>" % (
listPrefix, theTheme.themeName, theTheme.themeCredit
)
if theIcons.themeCredit != "":
aboutMsg += "%s\"%s\" by %s<br/>" % (
listPrefix, theIcons.themeName, theIcons.themeCredit
)
if theTheme.syntaxCredit != "":
aboutMsg += "%s\"%s\" by %s<br/>" % (
listPrefix, theTheme.syntaxName, theTheme.syntaxCredit