[gnome-builder] icons: ignore application icon in symbolic render



commit 637ae5cd73e604da83c1326cb3029d84cba97100
Author: Christian Hergert <chergert redhat com>
Date:   Thu Feb 14 11:03:45 2019 -0800

    icons: ignore application icon in symbolic render

 data/icons/hicolor/render-symbolic.py | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/data/icons/hicolor/render-symbolic.py b/data/icons/hicolor/render-symbolic.py
index 6196235b3..33537df8a 100755
--- a/data/icons/hicolor/render-symbolic.py
+++ b/data/icons/hicolor/render-symbolic.py
@@ -6,6 +6,10 @@ import sys
 
 _resources = {}
 _aliases = {}
+_ignore = (
+  'org.gnome.Builder.svg',
+  'org.gnome.Builder-symbolic.svg',
+)
 
 def addResource(directory, name):
     if directory not in _resources:
@@ -42,6 +46,8 @@ for dirname in ('actions', 'mimetypes'):
 # We need larger versions for apps
 for dirname in ('apps',):
     for name in sort(os.listdir(os.path.join('scalable', dirname))):
+        if name in _ignore:
+            continue
         for size in (16, 32, 48, 128, 256, 512):
             outdir = '%dx%d/%s' % (size, size, dirname)
             path = os.path.join('scalable', dirname, name)


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