From 544a9d56bd0470b9ee98dfd8848fbae6e1d5bbdd Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 14 May 2020 18:46:30 +0200 Subject: [PATCH] Updated the about box to credit the icon creator. Temporary solution until the box is redesigned. --- nw/gui/mainmenu.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nw/gui/mainmenu.py b/nw/gui/mainmenu.py index a37ddf0c..c497823a 100644 --- a/nw/gui/mainmenu.py +++ b/nw/gui/mainmenu.py @@ -148,6 +148,7 @@ class GuiMainMenu(QMenuBar): credits = "
".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 += "

GUI Theme and Syntax Highlighting

" aboutMsg += "

" @@ -155,6 +156,10 @@ class GuiMainMenu(QMenuBar): aboutMsg += "%s\"%s\" by %s
" % ( listPrefix, theTheme.themeName, theTheme.themeCredit ) + if theIcons.themeCredit != "": + aboutMsg += "%s\"%s\" by %s
" % ( + listPrefix, theIcons.themeName, theIcons.themeCredit + ) if theTheme.syntaxCredit != "": aboutMsg += "%s\"%s\" by %s
" % ( listPrefix, theTheme.syntaxName, theTheme.syntaxCredit