From 93104d6a65e6e2ad700dcc1810ec68806d1b3580 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Wed, 22 Jan 2025 16:40:54 +0100 Subject: [PATCH] Separate sidebar icons from other icons --- novelwriter/gui/sidebar.py | 4 ++-- pkgutils.py | 4 ++-- utils/icon_themes.py | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/novelwriter/gui/sidebar.py b/novelwriter/gui/sidebar.py index 71e06973..be08f86a 100644 --- a/novelwriter/gui/sidebar.py +++ b/novelwriter/gui/sidebar.py @@ -145,8 +145,8 @@ class GuiSideBar(QWidget): self.tbSearch.setThemeIcon("sb_search") self.tbOutline.setThemeIcon("sb_outline") self.tbBuild.setThemeIcon("sb_build") - self.tbDetails.setThemeIcon("list") - self.tbStats.setThemeIcon("stats") + self.tbDetails.setThemeIcon("sb_details") + self.tbStats.setThemeIcon("sb_stats") self.tbSettings.setThemeIcon("settings") return diff --git a/pkgutils.py b/pkgutils.py index a4153e8b..794ce640 100755 --- a/pkgutils.py +++ b/pkgutils.py @@ -173,8 +173,8 @@ if __name__ == "__main__": cmdIcons = parsers.add_parser( "icons", help="Build icon theme files from source." ) - cmdIcons.add_argument("--sources", help="Working directory for sources.") - cmdIcons.add_argument("--style", help="What icon style to build.") + cmdIcons.add_argument("sources", help="Working directory for sources.") + cmdIcons.add_argument("style", help="What icon style to build.") cmdIcons.set_defaults(func=utils.icon_themes.main) # Import Translations diff --git a/utils/icon_themes.py b/utils/icon_themes.py index 681956c6..54044bf7 100644 --- a/utils/icon_themes.py +++ b/utils/icon_themes.py @@ -83,10 +83,12 @@ ICONS = [ "unfold-show", "sb_build", + "sb_details", "sb_novel", "sb_outline", "sb_project", "sb_search", + "sb_stats", "add", "bookmarks",