summaryrefslogtreecommitdiff
path: root/render-icon-theme.py
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2018-11-26 11:55:51 +0100
committerJakub Steiner <jimmac@gmail.com>2018-11-26 11:55:51 +0100
commit2327734fe749b211d18a2ea0fe5e1f1296cd0a38 (patch)
tree8990774abaed7c12231e3b0fcf8425a45dcb4b76 /render-icon-theme.py
parent930bddaa8095b9883f7bb56f4dc56699964cfdfc (diff)
downloadadwaita-icon-theme-2327734fe749b211d18a2ea0fe5e1f1296cd0a38.tar.gz
fullcolor: folder tweaks
Diffstat (limited to 'render-icon-theme.py')
-rwxr-xr-xrender-icon-theme.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/render-icon-theme.py b/render-icon-theme.py
index d6713337f..68fd93eeb 100755
--- a/render-icon-theme.py
+++ b/render-icon-theme.py
@@ -12,12 +12,11 @@ SRC = os.path.join('.', 'src', 'fullcolor')
inkscape_process = None
def optimize_png(png_file):
- return
if os.path.exists(ZOPFLIPNG):
- process = subprocess.Popen([ZOPFLIPNG, '-y', '-m', png_file, png_file])
+ process = subprocess.Popen([ZOPFLIPNG, '-y', '-m', png_file, png_file], stdout=open(os.devnull, 'wb'))
process.wait()
elif os.path.exists(OPTIPNG):
- process = subprocess.Popen([OPTIPNG, '-quiet', '-o7', png_file])
+ process = subprocess.Popen([OPTIPNG, '-quiet', '-o7', png_file], stdout=open(os.devnull, 'wb'))
process.wait()
def wait_for_prompt(process, command=None):