[gnome-icon-theme-symbolic] fix export for view-refresh



commit 6aea5fdbc0582d80d644cf14aa0697a405af5608
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Dec 20 17:53:02 2011 +0100

    fix export for view-refresh
    
    - can't have unlimited subgroups.

 README                                           |    4 +-
 gnome/scalable/actions/view-refresh-symbolic.svg |   10 +--
 r.rb                                             |    2 +-
 src/gnome-stencils.svg                           |   96 +++++++++++++++------
 4 files changed, 76 insertions(+), 36 deletions(-)
---
diff --git a/README b/README
index 2aa6cd5..a5ee062 100644
--- a/README
+++ b/README
@@ -39,7 +39,9 @@ The best way to assure your icon will be precisely 16x16, is to include a blank
 rectangle in the group. This rectangle, as long as it is 16 pixels wide and
 high, will be removed by the crop script. To name the group, open up the object
 properties dialog (Ctrl+Shfit+O) and use the 'label' field. Do not add the
--symbolic suffix there, that will be done by the script.
+-symbolic suffix there, that will be done by the script. Also, don't nest groups
+too much inside the main one. The script will only convert outlines properly down
+to two subgroups.
 
 Recoloring
 ----------
diff --git a/gnome/scalable/actions/view-refresh-symbolic.svg b/gnome/scalable/actions/view-refresh-symbolic.svg
index 638370d..2631ad4 100644
--- a/gnome/scalable/actions/view-refresh-symbolic.svg
+++ b/gnome/scalable/actions/view-refresh-symbolic.svg
@@ -11,7 +11,7 @@
       </cc:Work>
     </rdf:RDF>
   </metadata>
-  <sodipodi:namedview inkscape:cy='-17.17557' pagecolor='#555753' borderopacity='1' showborder='false' inkscape:bbox-paths='false' guidetolerance='10' inkscape:object-paths='true' inkscape:window-width='1920' showguides='true' inkscape:object-nodes='true' inkscape:snap-bbox='true' inkscape:pageshadow='2' inkscape:guide-bbox='true' inkscape:snap-nodes='true' bordercolor='#666666' objecttolerance='10' id='namedview88' showgrid='false' inkscape:window-maximized='1' inkscape:window-x='-10' inkscape:snap-global='true' inkscape:window-y='18' gridtolerance='10' inkscape:window-height='1022' inkscape:snap-others='false' inkscape:snap-to-guides='true' inkscape:current-layer='layer12' inkscape:snap-bbox-midpoints='false' inkscape:zoom='1' inkscape:cx='-2.5533606' inkscape:snap-grids='true' inkscape:pageopacity='1'>
+  <sodipodi:namedview inkscape:cy='12.35296' pagecolor='#555753' borderopacity='1' showborder='false' inkscape:bbox-paths='false' guidetolerance='10' inkscape:object-paths='true' inkscape:window-width='1239' showguides='true' inkscape:object-nodes='true' inkscape:snap-bbox='true' inkscape:pageshadow='2' inkscape:guide-bbox='true' inkscape:snap-nodes='true' bordercolor='#666666' objecttolerance='10' id='namedview88' showgrid='false' inkscape:window-maximized='0' inkscape:window-x='1717' inkscape:snap-global='true' inkscape:window-y='175' gridtolerance='10' inkscape:window-height='1056' inkscape:snap-others='false' inkscape:snap-to-guides='true' inkscape:current-layer='layer12' inkscape:snap-bbox-midpoints='false' inkscape:zoom='16' inkscape:cx='6.5769672' inkscape:snap-grids='true' inkscape:pageopacity='1'>
     <inkscape:grid spacingx='1px' spacingy='1px' id='grid4866' empspacing='2' enabled='true' type='xygrid' snapvisiblegridlinesonly='true' visible='true'/>
   </sodipodi:namedview>
   <title id='title9167'>Gnome Symbolic Icon Theme</title>
@@ -26,11 +26,9 @@
   <g inkscape:label='categories' transform='translate(-241.0002,-627)' inkscape:groupmode='layer' id='g4953' style='display:inline'/>
   <g inkscape:label='actions' transform='translate(-241.0002,-627)' inkscape:groupmode='layer' id='layer12' style='display:inline'>
     
-    <g transform='translate(1.0002,109)' id='g4604'>
-      <path inkscape:connector-curvature='0' d='m 251,529 c -1.65693,2.20908 -4.79103,2.65683 -7.00013,0.99991 -2.20908,-1.65692 -2.6567,-4.79094 -0.99978,-7.00004 1.65693,-2.20908 4.79095,-2.6567 7.00004,-0.99978 0.92843,0.69637 1.5857,1.69403 1.85912,2.82192' id='path4597' sodipodi:nodetypes='csssc' style='color:#bebebe;fill:none;stroke:#bebebe;stroke-width:2;stroke-linecap:round;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate'/>
-      <path inkscape:connector-curvature='0' d='m 249,525 4,0 0,-4' id='path4599' sodipodi:nodetypes='ccc' style='fill:none;stroke:#bebebe;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none'/>
-      <rect x='251' y='528' id='rect4602' height='1' width='1' style='color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate'/>
-    </g>
+    <path inkscape:connector-curvature='0' d='m 247.15625,629.0625 c -1.52218,0.21741 -2.97815,1.02304 -3.96875,2.34375 -1.98119,2.64144 -1.42267,6.42505 1.21875,8.40625 2.64147,1.98122 6.42504,1.42267 8.40625,-1.21875 a 1.0063276,1.0063276 0 1 0 -1.625,-1.1875 c -1.33265,1.77674 -3.81702,2.11387 -5.59375,0.78125 -1.77674,-1.33264 -2.1139,-3.81699 -0.78125,-5.59375 1.33265,-1.77674 3.817,-2.11389 5.59375,-0.78125 0.7429,0.55721 1.24997,1.3475 1.46875,2.25 a 1.0118922,1.0118922 0 1 0 1.96875,-0.46875 c -0.32806,-1.35328 -1.13604,-2.57072 -2.25,-3.40625 -1.32072,-0.9906 -2.91532,-1.34241 -4.4375,-1.125 z' id='path4597' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#bebebe;fill:#bebebe;fill-op
 acity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans'/>
+    <path inkscape:connector-curvature='0' d='M 253.78125,629 A 1.0001,1.0001 0 0 0 253,630 l 0,3 -3,0 a 1.0001,1.0001 0 1 0 0,2 l 4,0 1,0 0,-1 0,-4 a 1.0001,1.0001 0 0 0 -1.21875,-1 z' id='path4599' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans'/>
+    <rect x='252.0002' y='637' id='rect4602' height='1' style='color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate' width='1'/>
     <rect x='254.0002' y='629' id='rect4602-6' height='1' width='1' style='color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate'/>
     <rect x='249.0002' y='634' id='rect4602-6-4' height='1' width='1' style='color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate'/>
   </g>
diff --git a/r.rb b/r.rb
index 9ff3199..0826fe0 100755
--- a/r.rb
+++ b/r.rb
@@ -16,7 +16,7 @@ def chopSVG(icon)
 		FileUtils.cp(SRC,icon[:file]) 
 		puts " >> #{icon[:name]}"
 		cmd = "#{INKSCAPE} -f #{icon[:file]} --select #{icon[:id]} --verb=FitCanvasToSelection  --verb=EditInvertInAllLayers "
-		cmd += "--verb=EditDelete --verb=EditSelectAll --verb=SelectionUnGroup --verb=StrokeToPath --verb=FileVacuum "
+		cmd += "--verb=EditDelete --verb=EditSelectAll --verb=SelectionUnGroup --verb=SelectionUnGroup --verb=SelectionUnGroup --verb=StrokeToPath --verb=FileVacuum "
 		cmd += "--verb=FileSave --verb=FileClose > /dev/null 2>&1"
 		system(cmd)
 		#saving as plain SVG gets rid of the classes :/
diff --git a/src/gnome-stencils.svg b/src/gnome-stencils.svg
index b5cd658..03b1578 100644
--- a/src/gnome-stencils.svg
+++ b/src/gnome-stencils.svg
@@ -37,17 +37,17 @@
      guidetolerance="10"
      inkscape:pageopacity="1"
      inkscape:pageshadow="2"
-     inkscape:window-width="1920"
-     inkscape:window-height="1022"
+     inkscape:window-width="1239"
+     inkscape:window-height="1056"
      id="namedview88"
      showgrid="false"
-     inkscape:zoom="2.8284271"
-     inkscape:cx="115.43511"
-     inkscape:cy="-428.53307"
-     inkscape:window-x="-10"
-     inkscape:window-y="18"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="layer12"
+     inkscape:zoom="16"
+     inkscape:cx="6.4519672"
+     inkscape:cy="-397.64704"
+     inkscape:window-x="1717"
+     inkscape:window-y="175"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="g4683"
      showborder="false"
      inkscape:snap-nodes="true"
      inkscape:snap-bbox="true"
@@ -8871,35 +8871,75 @@
          style="color:#bebebe;fill:none;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" />
       <rect
          inkscape:label="a"
-         y="278.99939"
-         x="23.000198"
-         height="4.0006256"
-         width="3.9998016"
+         y="277"
+         x="20.9998"
+         height="3.0006218"
+         width="3.0000038"
          id="rect7366"
          style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" />
       <rect
          style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
-         id="rect7372"
-         width="3.9998016"
-         height="4.0006256"
-         x="29"
-         y="278.99939"
+         id="rect20536"
+         width="3.0000038"
+         height="3.0006218"
+         x="25.9998"
+         y="277"
          inkscape:label="a" />
       <rect
+         inkscape:label="a"
+         y="277"
+         x="30.9998"
+         height="3.0006218"
+         width="3.0000038"
+         id="rect20538"
+         style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" />
+      <rect
          style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
-         id="rect7374"
-         width="3.9998016"
-         height="4.0006256"
-         x="23"
-         y="285"
+         id="rect20540"
+         width="3.0000038"
+         height="3.0006218"
+         x="20.999796"
+         y="282"
+         inkscape:label="a" />
+      <rect
+         inkscape:label="a"
+         y="282"
+         x="25.999796"
+         height="3.0006218"
+         width="3.0000038"
+         id="rect20542"
+         style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" />
+      <rect
+         style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
+         id="rect20544"
+         width="3.0000038"
+         height="3.0006218"
+         x="30.999796"
+         y="282"
+         inkscape:label="a" />
+      <rect
+         inkscape:label="a"
+         y="287"
+         x="20.999796"
+         height="3.0006218"
+         width="3.0000038"
+         id="rect20546"
+         style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" />
+      <rect
+         style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
+         id="rect20548"
+         width="3.0000038"
+         height="3.0006218"
+         x="25.999796"
+         y="287"
          inkscape:label="a" />
       <rect
          inkscape:label="a"
-         y="285"
-         x="29.000198"
-         height="4.0006256"
-         width="3.9998016"
-         id="rect7376"
+         y="287"
+         x="30.999796"
+         height="3.0006218"
+         width="3.0000038"
+         id="rect20550"
          style="color:#bebebe;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" />
     </g>
     <g



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