[gnome-icon-theme] Acutally run inkscape again.



commit f979ac5a638402722d6d2bdb14bfb8eca06e9b5a
Author: Benjamin Berg <benjamin sipsolutions net>
Date:   Fri May 21 15:28:11 2010 +0200

    Acutally run inkscape again.

 render-icon-theme.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/render-icon-theme.py b/render-icon-theme.py
index 861406f..7888e45 100755
--- a/render-icon-theme.py
+++ b/render-icon-theme.py
@@ -38,9 +38,9 @@ def start_inkscape():
 
 def inkscape_render_rect(icon_file, rect, output_file):
     global inkscape_process
-    #if inkscape_process is None:
-    #    inkscape_process = start_inkscape()
-    #wait_for_prompt(inkscape_process, '%s -i %s -e %s' % (icon_file, rect, output_file))
+    if inkscape_process is None:
+        inkscape_process = start_inkscape()
+    wait_for_prompt(inkscape_process, '%s -i %s -e %s' % (icon_file, rect, output_file))
     optimize_png(output_file)
 
 class ContentHandler(xml.sax.ContentHandler):



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