[adwaita-icon-theme] render-symbolic.rb: close the window when the slicing is done



commit 7cc61fb8037235f3576649a1b597de487b7e2236
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Sep 21 16:40:19 2016 +0200

    render-symbolic.rb: close the window when the slicing is done
    
    change a FileClose verb to FileQuit to actually close the window
    when done, it won't close all running inkscape istances.

 render-symbolic.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/render-symbolic.rb b/render-symbolic.rb
index 8b19efe..9311589 100755
--- a/render-symbolic.rb
+++ b/render-symbolic.rb
@@ -17,7 +17,7 @@ def chopSVG(icon)
                puts " >> #{icon[:name]}"
                cmd = "#{INKSCAPE} -f #{icon[:file]} --select #{icon[:id]} --verb=FitCanvasToSelection  
--verb=EditInvertInAllLayers "
                cmd += "--verb=EditDelete --verb=EditSelectAll --verb=SelectionUnGroup 
--verb=SelectionUnGroup --verb=SelectionUnGroup --verb=StrokeToPath --verb=FileVacuum "
-               cmd += "--verb=FileSave --verb=FileClose > /dev/null 2>&1"
+               cmd += "--verb=FileSave --verb=FileQuit > /dev/null 2>&1"
                system(cmd)
                #saving as plain SVG gets rid of the classes :/
                #cmd = "#{INKSCAPE} -f #{icon[:file]} -z --vacuum-defs -l #{icon[:file]} > /dev/null 2>&1"


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