Replace import removed in error
This commit is contained in:
parent
53bfeb66ca
commit
b33c94a0d2
@ -574,6 +574,8 @@ def get_link_color(context):
|
|||||||
"""
|
"""
|
||||||
Find the link color for the current theme.
|
Find the link color for the current theme.
|
||||||
"""
|
"""
|
||||||
|
from gi.repository import Gtk
|
||||||
|
|
||||||
col = context.get_color(Gtk.StateFlags.LINK)
|
col = context.get_color(Gtk.StateFlags.LINK)
|
||||||
return rgb_to_hex((col.red, col.green, col.blue))
|
return rgb_to_hex((col.red, col.green, col.blue))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user