Updated the about box to credit the icon creator. Temporary solution until the box is redesigned.
This commit is contained in:
@@ -148,6 +148,7 @@ class GuiMainMenu(QMenuBar):
|
|||||||
credits = "<br/>".join(["%s%s" % (listPrefix, x) for x in nw.__credits__]),
|
credits = "<br/>".join(["%s%s" % (listPrefix, x) for x in nw.__credits__]),
|
||||||
)
|
)
|
||||||
theTheme = self.theParent.theTheme
|
theTheme = self.theParent.theTheme
|
||||||
|
theIcons = self.theParent.theTheme.theIcons
|
||||||
if theTheme.themeCredit != "" or theTheme.syntaxCredit != "":
|
if theTheme.themeCredit != "" or theTheme.syntaxCredit != "":
|
||||||
aboutMsg += "<h4>GUI Theme and Syntax Highlighting</h4>"
|
aboutMsg += "<h4>GUI Theme and Syntax Highlighting</h4>"
|
||||||
aboutMsg += "<p>"
|
aboutMsg += "<p>"
|
||||||
@@ -155,6 +156,10 @@ class GuiMainMenu(QMenuBar):
|
|||||||
aboutMsg += "%s\"%s\" by %s<br/>" % (
|
aboutMsg += "%s\"%s\" by %s<br/>" % (
|
||||||
listPrefix, theTheme.themeName, theTheme.themeCredit
|
listPrefix, theTheme.themeName, theTheme.themeCredit
|
||||||
)
|
)
|
||||||
|
if theIcons.themeCredit != "":
|
||||||
|
aboutMsg += "%s\"%s\" by %s<br/>" % (
|
||||||
|
listPrefix, theIcons.themeName, theIcons.themeCredit
|
||||||
|
)
|
||||||
if theTheme.syntaxCredit != "":
|
if theTheme.syntaxCredit != "":
|
||||||
aboutMsg += "%s\"%s\" by %s<br/>" % (
|
aboutMsg += "%s\"%s\" by %s<br/>" % (
|
||||||
listPrefix, theTheme.syntaxName, theTheme.syntaxCredit
|
listPrefix, theTheme.syntaxName, theTheme.syntaxCredit
|
||||||
|
|||||||
Reference in New Issue
Block a user