From b33c94a0d2555f85ad68287500b3244dabfe0b85 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Mon, 3 Jul 2023 15:09:14 +0100 Subject: [PATCH] Replace import removed in error --- gramps/gui/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gui/utils.py b/gramps/gui/utils.py index d8da593de..cf661ecb8 100644 --- a/gramps/gui/utils.py +++ b/gramps/gui/utils.py @@ -574,6 +574,8 @@ def get_link_color(context): """ Find the link color for the current theme. """ + from gi.repository import Gtk + col = context.get_color(Gtk.StateFlags.LINK) return rgb_to_hex((col.red, col.green, col.blue))