[gtk: 1/2] icontheme: Recolor <polygon> elements in SVGs too



commit 284d909347080937809fcfdb2c2dc91e4cb8b7df
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Dec 8 01:40:32 2018 +0000

    icontheme: Recolor <polygon> elements in SVGs too
    
    Otherwise, it's possible to have a symbolic icon where some of the
    shapes keep the #bebebe chroma key color.

 gtk/gtkicontheme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 1958b7d133..f1f9c8f074 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -4156,7 +4156,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]