Can anybody help me with loading symbolic icons. Doing this doesn’t work:
GtkIconTheme *theme = gtk_icon_theme_get_for_display(gdk_display_get_default());
gtk_icon_theme_add_search_path(theme, "/home/zagor/code/kronomi/data/icons/scalable/actions");
followed by:
GtkWidget *icon = gtk_image_new_from_icon_name("kronomi-alarm-symbolic");
You can see the full example here: GitHub - zagortenay333/kronomi
The icon shows up but doesn’t get colored
Is there something I have to do with the svg icons? I tried both setting fill to #000000 and currentColor.