encodesymbolic: handle circle objects

add circle objects to the injected style for recoloring.
Should avoid randomly colored symbolic icon bits when circles are
in the mix as in network-vpn-acquiring-symbolic for example.
This commit is contained in:
Lapo Calamandrei 2016-09-21 17:46:19 +02:00
parent 26dcb6aa8e
commit 06b2adb107

View File

@ -88,7 +88,7 @@ load_symbolic_svg (char *file_data, gsize file_len,
" width=\"", svg_width, "\"\n"
" height=\"", svg_height, "\">\n"
" <style type=\"text/css\">\n"
" rect,path {\n"
" rect,circle,path {\n"
" fill: ", css_fg," !important;\n"
" }\n"
" .warning {\n"