Commit 637ae4b8 authored by Philipp Hörist's avatar Philipp Hörist

Settings: Allow more than one css class

parent 354e6336
Pipeline #6314 passed with stages
in 4 minutes and 14 seconds
......@@ -291,7 +291,8 @@ class GenericSetting(Gtk.ListBoxRow):
return
if style is not None:
button.get_style_context().add_class(style)
for css_class in style.split(' '):
button.get_style_context().add_class(css_class)
button.connect('clicked', kwargs['button-callback'])
button.set_tooltip_text(tooltip_text)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment