From 1d380a201191c12c7b860b2a80a5db12d6bf781d Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Fri, 17 Jan 2014 13:27:46 +0100
Subject: [PATCH] optimize size of toggle icons

---
 core/img/actions/toggle-filelist.png | Bin 208 -> 195 bytes
 core/img/actions/toggle-filelist.svg | 142 ++-------------------------
 core/img/actions/toggle-pictures.png | Bin 207 -> 193 bytes
 core/img/actions/toggle-pictures.svg | 122 ++---------------------
 4 files changed, 16 insertions(+), 248 deletions(-)

diff --git a/core/img/actions/toggle-filelist.png b/core/img/actions/toggle-filelist.png
index 464ff0fe12643beea9be9432f3ec33136f0da6cd..45d363f1934f7a40e6a43644be8a4bd2b3f73a17 100644
GIT binary patch
delta 121
zcmcb>c$jg5gai{a0|P_ST=7o~3=GW0PM#qg92~bF`ahUxXdA{8;1lBd|Nnmm82Hh{
z<O@<)666=maNxnjwvR6u7#O5HT^vI=qLULC82_><B-a1=FV6Ox*+8#Sh+$%(0JDDH
QQcI8lp00i_>zopr0C7en0ssI2

delta 134
zcmX@ic!6<(gd_(W0|SHn=l_We3=AyAPM#qg92^`q94Q?W4Q!KqJzX3_EPCHg*vNUn
zK!CaQX1zv#l7CU=J_9vPpIr$DO`SUG7e4D=r^0BJaB;iTE2i{Q*{k<oxUzt)Kr{7q
pt4i{xW5FMM=Lnwf_%HF1ZFg+pbIGLQn+yyL44$rjF6*2UngDk`G*SQn

diff --git a/core/img/actions/toggle-filelist.svg b/core/img/actions/toggle-filelist.svg
index 0f75ad8e1c..940f6a49e6 100644
--- a/core/img/actions/toggle-filelist.svg
+++ b/core/img/actions/toggle-filelist.svg
@@ -1,135 +1,11 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:xlink="http://www.w3.org/1999/xlink"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   height="16"
-   width="16"
-   version="1.0"
-   id="svg2"
-   inkscape:version="0.48.3.1 r9886"
-   sodipodi:docname="toggle-filelist.svg"
-   inkscape:export-filename="toggle-filelist.png"
-   inkscape:export-xdpi="90"
-   inkscape:export-ydpi="90">
-  <metadata
-     id="metadata16">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title></dc:title>
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-  <defs
-     id="defs14">
-    <linearGradient
-       id="a"
-       y2="15"
-       gradientUnits="userSpaceOnUse"
-       x2="8"
-       y1="1"
-       x1="8">
-      <stop
-         offset="0"
-         id="stop7" />
-      <stop
-         stop-color="#363636"
-         stop-opacity=".7"
-         offset="1"
-         id="stop9" />
-    </linearGradient>
-    <linearGradient
-       gradientTransform="translate(-21.559322,-7.6085703)"
-       y2="15"
-       x2="8"
-       y1="1"
-       x1="8"
-       gradientUnits="userSpaceOnUse"
-       id="linearGradient3008"
-       xlink:href="#a"
-       inkscape:collect="always" />
-  </defs>
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="1366"
-     inkscape:window-height="744"
-     id="namedview12"
-     showgrid="false"
-     inkscape:zoom="14.75"
-     inkscape:cx="1.8698358"
-     inkscape:cy="4.9317849"
-     inkscape:window-x="0"
-     inkscape:window-y="24"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="svg2" />
-  <rect
-     style="fill:#000000;fill-opacity:1;stroke:none"
-     id="rect3777"
-     width="4"
-     height="4"
-     x="1"
-     y="1"
-     rx="0.5"
-     ry="0.5" />
-  <rect
-     style="fill:#000000;fill-opacity:1;stroke:none"
-     id="rect3779"
-     width="9"
-     height="1"
-     x="6"
-     y="2"
-     rx="0.5"
-     ry="0.5" />
-  <rect
-     ry="0.5"
-     rx="0.5"
-     y="6"
-     x="1"
-     height="4"
-     width="4"
-     id="rect3781"
-     style="fill:#000000;fill-opacity:1;stroke:none" />
-  <rect
-     ry="0.5"
-     rx="0.5"
-     y="7"
-     x="6"
-     height="1"
-     width="9"
-     id="rect3783"
-     style="fill:#000000;fill-opacity:1;stroke:none" />
-  <rect
-     style="fill:#000000;fill-opacity:1;stroke:none"
-     id="rect3785"
-     width="4"
-     height="4"
-     x="1"
-     y="11"
-     rx="0.5"
-     ry="0.5" />
-  <rect
-     style="fill:#000000;fill-opacity:1;stroke:none"
-     id="rect3787"
-     width="9"
-     height="1"
-     x="6"
-     y="12"
-     rx="0.5"
-     ry="0.5" />
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.0" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <g>
+  <rect rx=".5" ry=".5" height="4" width="4" y="1" x="1"/>
+  <rect rx=".5" ry=".5" height="1" width="9" y="2" x="6"/>
+  <rect rx=".5" ry=".5" height="4" width="4" y="6" x="1"/>
+  <rect rx=".5" ry=".5" height="1" width="9" y="7" x="6"/>
+  <rect rx=".5" ry=".5" height="4" width="4" y="11" x="1"/>
+  <rect rx=".5" ry=".5" height="1" width="9" y="12" x="6"/>
+ </g>
 </svg>
diff --git a/core/img/actions/toggle-pictures.png b/core/img/actions/toggle-pictures.png
index a8e1bea1918f35c363bec8864c5a3ca1177d4415..8068d17e30d95532ff0923c9848ebd5cc3c8d8ef 100644
GIT binary patch
delta 119
zcmX@lc#v^|gai{a0|P_ST=7o~3=GW0PM#qg92~bF`ahUxXdA*A;1lBd|NnmmFsKV$
z8Oy-Hz*G|C7tHYB+Dv^11_lNhPZ!4!j_BkB2F8`DLEaKu!ZOx6s2>pGaEOp)_;O8H
TP@}ozCrG=etDnm{r-UW|4uvB(

delta 133
zcmX@ec%E^Bgd_(W0|SHn=l_We3=AyAPM#qg92^`q94Q?W4QvyAJY5_^EPCHgGUPg7
zz{BkS_rLPw=`quFcs;EvG?%h9e{7tvaZ%7J#S09}^Ij?Udrex(YkEM}KI`8@Tc+BB
pztZ--393#0*<#N=|HMJg&4)u?+FOVhGcYhPc)I$ztaD0e0st1dGMWGY

diff --git a/core/img/actions/toggle-pictures.svg b/core/img/actions/toggle-pictures.svg
index 9d9077ea6f..5205c0226d 100644
--- a/core/img/actions/toggle-pictures.svg
+++ b/core/img/actions/toggle-pictures.svg
@@ -1,117 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:xlink="http://www.w3.org/1999/xlink"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   height="16"
-   width="16"
-   version="1.0"
-   id="svg2"
-   inkscape:version="0.48.3.1 r9886"
-   sodipodi:docname="toggle-pictures.svg"
-   inkscape:export-filename="toggle-filelist.png"
-   inkscape:export-xdpi="90"
-   inkscape:export-ydpi="90">
-  <metadata
-     id="metadata16">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title></dc:title>
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-  <defs
-     id="defs14">
-    <linearGradient
-       id="a"
-       y2="15"
-       gradientUnits="userSpaceOnUse"
-       x2="8"
-       y1="1"
-       x1="8">
-      <stop
-         offset="0"
-         id="stop7" />
-      <stop
-         stop-color="#363636"
-         stop-opacity=".7"
-         offset="1"
-         id="stop9" />
-    </linearGradient>
-    <linearGradient
-       gradientTransform="translate(-21.559322,-7.6085703)"
-       y2="15"
-       x2="8"
-       y1="1"
-       x1="8"
-       gradientUnits="userSpaceOnUse"
-       id="linearGradient3008"
-       xlink:href="#a"
-       inkscape:collect="always" />
-  </defs>
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="1366"
-     inkscape:window-height="744"
-     id="namedview12"
-     showgrid="false"
-     inkscape:zoom="14.75"
-     inkscape:cx="1.8698358"
-     inkscape:cy="4.9317849"
-     inkscape:window-x="0"
-     inkscape:window-y="24"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="svg2" />
-  <rect
-     style="fill:#000000;fill-opacity:1;stroke:none"
-     id="rect3777"
-     width="6"
-     height="6"
-     x="1"
-     y="1"
-     rx="0.5"
-     ry="0.5" />
-  <rect
-     ry="0.5"
-     rx="0.5"
-     y="1"
-     x="9"
-     height="6"
-     width="6"
-     id="rect3833"
-     style="fill:#000000;fill-opacity:1;stroke:none" />
-  <rect
-     style="fill:#000000;fill-opacity:1;stroke:none"
-     id="rect3835"
-     width="6"
-     height="6"
-     x="9"
-     y="9"
-     rx="0.5"
-     ry="0.5" />
-  <rect
-     ry="0.5"
-     rx="0.5"
-     y="9"
-     x="1"
-     height="6"
-     width="6"
-     id="rect3837"
-     style="fill:#000000;fill-opacity:1;stroke:none" />
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.0" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <g>
+  <rect rx=".5" ry=".5" height="6" width="6" y="1" x="1"/>
+  <rect rx=".5" ry=".5" height="6" width="6" y="1" x="9"/>
+  <rect rx=".5" ry=".5" height="6" width="6" y="9" x="9"/>
+  <rect rx=".5" ry=".5" height="6" width="6" y="9" x="1"/>
+ </g>
 </svg>
-- 
GitLab