[gtk/cherry-pick-5b049364] Merge branch 'fix-polygon-svg-recolor' into 'master'



commit b283b0b910490fed35ce6b1e992be06bb71eb89d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 14 17:02:30 2018 +0000

    Merge branch 'fix-polygon-svg-recolor' into 'master'
    
    icontheme: Recolor <polygon> elements in SVGs too
    
    See merge request GNOME/gtk!443
    
    (cherry picked from commit 5b049364dcc1ecab1a0695d7bce82268ffd11d18)
    
    284d9093 icontheme: Recolor <polygon> elements in SVGs too

 gtk/gtkicontheme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 43c3897ded..942f138aa4 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -4568,7 +4568,7 @@ gtk_icon_info_load_symbolic_svg (GtkIconInfo    *icon_info,
                       "     width=\"", width, "\"\n"
                       "     height=\"", height, "\">\n"
                       "  <style type=\"text/css\">\n"
-                      "    rect,path,ellipse,circle {\n"
+                      "    rect,path,ellipse,circle,polygon {\n"
                       "      fill: ", css_fg," !important;\n"
                       "    }\n"
                       "    .warning {\n"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]