changeset 27:e130831d86c4

Fix bug #62632: ERROR:gnuhealth.common.common:Unknown icon tryton-back tryton-refresh
author Luis Falcon <falcon@gnuhealth.org>
date Wed, 15 Jun 2022 12:29:01 +0100
parents d129cc8ee4eb
children 7378351032bb
files gnuhealth/common/common.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnuhealth/common/common.py
+++ b/gnuhealth/common/common.py
@@ -121,7 +121,8 @@
         colors = CONFIG['icon.colors'].split(',')
         cls.register_icon(iconname)
         if iconname in ("tryton-open", "tryton-launch", "tryton-cancel",
-            "tryton-ok", "tryton-go-next", "tryton-info", "tryton-forward"):
+            "tryton-ok", "tryton-go-next", "tryton-info",
+            "tryton-forward", "tryton-back", "tryton-refresh"):
             iconname = iconname.replace("tryton","gnuhealth")
         if iconname not in cls._pixbufs[(size, badge)]:
             if iconname in cls._icons: