[gnome-builder] add some larger application icon variants



commit 98f64adcb56a9cff31fb1bc0cf5659cb66c49383
Author: Christian Hergert <chergert redhat com>
Date:   Fri Sep 29 02:22:33 2017 -0700

    add some larger application icon variants

 .../apps/org.gnome.Builder-symbolic.symbolic.png   |  Bin 0 -> 2443 bytes
 .../apps/org.gnome.Builder-symbolic.symbolic.png   |  Bin 0 -> 5149 bytes
 .../apps/org.gnome.Builder-symbolic.symbolic.png   |  Bin 0 -> 11264 bytes
 data/icons/hicolor/icons.gresource.xml             |    3 +++
 data/icons/hicolor/render-symbolic.py              |   12 +++++++++++-
 5 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/data/icons/hicolor/128x128/apps/org.gnome.Builder-symbolic.symbolic.png 
b/data/icons/hicolor/128x128/apps/org.gnome.Builder-symbolic.symbolic.png
new file mode 100644
index 0000000..9855a48
Binary files /dev/null and b/data/icons/hicolor/128x128/apps/org.gnome.Builder-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/256x256/apps/org.gnome.Builder-symbolic.symbolic.png 
b/data/icons/hicolor/256x256/apps/org.gnome.Builder-symbolic.symbolic.png
new file mode 100644
index 0000000..c9e764d
Binary files /dev/null and b/data/icons/hicolor/256x256/apps/org.gnome.Builder-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/512x512/apps/org.gnome.Builder-symbolic.symbolic.png 
b/data/icons/hicolor/512x512/apps/org.gnome.Builder-symbolic.symbolic.png
new file mode 100644
index 0000000..97ccf93
Binary files /dev/null and b/data/icons/hicolor/512x512/apps/org.gnome.Builder-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/icons.gresource.xml b/data/icons/hicolor/icons.gresource.xml
index 1cdca9f..2613421 100644
--- a/data/icons/hicolor/icons.gresource.xml
+++ b/data/icons/hicolor/icons.gresource.xml
@@ -164,6 +164,9 @@
     <file>16x16/apps/org.gnome.Builder-symbolic.symbolic.png</file>
     <file>32x32/apps/org.gnome.Builder-symbolic.symbolic.png</file>
     <file>48x48/apps/org.gnome.Builder-symbolic.symbolic.png</file>
+    <file>128x128/apps/org.gnome.Builder-symbolic.symbolic.png</file>
+    <file>256x256/apps/org.gnome.Builder-symbolic.symbolic.png</file>
+    <file>512x512/apps/org.gnome.Builder-symbolic.symbolic.png</file>
     <file alias="scalable/actions/pattern-legacy.svg">scalable/patterns/pattern-legacy.svg</file>
     <file alias="scalable/actions/pattern-browse.svg">scalable/patterns/pattern-browse.svg</file>
     <file alias="scalable/actions/pattern-library.svg">scalable/patterns/pattern-library.svg</file>
diff --git a/data/icons/hicolor/render-symbolic.py b/data/icons/hicolor/render-symbolic.py
index faa2a7f..66f8036 100755
--- a/data/icons/hicolor/render-symbolic.py
+++ b/data/icons/hicolor/render-symbolic.py
@@ -25,7 +25,7 @@ for name in os.listdir('scalable/patterns'):
 
 # These need to be scaled as symbolic icons into
 # 16 and their 2x and 3x counterparts
-for dirname in ('actions', 'apps'):
+for dirname in ('actions',):
     for name in os.listdir(os.path.join('scalable', dirname)):
         for size in (16, 32, 48):
             outdir = '%dx%d/%s' % (size, size, dirname)
@@ -34,6 +34,16 @@ for dirname in ('actions', 'apps'):
             symbolic_name = name[:-4] + '.symbolic.png'
             addResource(outdir, symbolic_name)
 
+# We need larger versions for apps
+for dirname in ('apps',):
+    for name in os.listdir(os.path.join('scalable', dirname)):
+        for size in (16, 32, 48, 128, 256, 512):
+            outdir = '%dx%d/%s' % (size, size, dirname)
+            path = os.path.join('scalable', dirname, name)
+            gtkEncodeSymbolicSvg(outdir, path, size)
+            symbolic_name = name[:-4] + '.symbolic.png'
+            addResource(outdir, symbolic_name)
+
 # Now generate our updated .gresources.xml
 with open("icons.gresource.xml", "w") as stream:
     stream.write('''<?xml version="1.0" encoding="UTF-8"?>


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