[evince/wip/jimmac/symbolic-icons] icons: update symbols




commit 74279f1dd8be82978140635680d1b02600746832
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 3 17:01:46 2022 +0100

    icons: update symbols
    
    - update icon assets
    - avoid system icons that aren't there
    
    https://gitlab.gnome.org/GNOME/evince/-/issues/1756

 .../scalable/actions/annotations-text-symbolic.svg | 116 +---------------
 .../scalable/actions/view-sidebar-symbolic.svg     |  84 +----------
 data/icons/scalable/actions/visible-symbolic.svg   | 153 +--------------------
 shell/ev-window.c                                  |   2 +-
 4 files changed, 16 insertions(+), 339 deletions(-)
---
diff --git a/data/icons/scalable/actions/annotations-text-symbolic.svg 
b/data/icons/scalable/actions/annotations-text-symbolic.svg
index c17afefb8..ca8c94979 100644
--- a/data/icons/scalable/actions/annotations-text-symbolic.svg
+++ b/data/icons/scalable/actions/annotations-text-symbolic.svg
@@ -1,114 +1,4 @@
-<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
-   width="16"
-   height="16"
-   version="1.1"
-   id="svg1972"
-   sodipodi:docname="annotations-text-symbolic.svg"
-   inkscape:version="0.92.3 (2405546, 2018-03-11)">
-  <metadata
-     id="metadata1978">
-    <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="defs1976" />
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="1920"
-     inkscape:window-height="1016"
-     id="namedview1974"
-     showgrid="false"
-     showguides="true"
-     inkscape:guide-bbox="true"
-     inkscape:zoom="41.7193"
-     inkscape:cx="5.9814254"
-     inkscape:cy="7.0463535"
-     inkscape:window-x="0"
-     inkscape:window-y="27"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="svg1972">
-    <sodipodi:guide
-       position="2.6366694,7.5264925"
-       orientation="0,1"
-       id="guide2538"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="7.3826742,3.0201849"
-       orientation="0,1"
-       id="guide2540"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="-11.649285,9.3721611"
-       orientation="1,0"
-       id="guide2542"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="3.4276702,13.902438"
-       orientation="1,0"
-       id="guide2546"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="-0.57527331,19.151807"
-       orientation="0,1"
-       id="guide3165"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="2.4688813,5.5130359"
-       orientation="0,1"
-       id="guide3167"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="-5.4411268,9.5878886"
-       orientation="0,1"
-       id="guide3313"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="8.5092511,12.823801"
-       orientation="1,0"
-       id="guide3315"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="-0.6711522,1.5100924"
-       orientation="0,1"
-       id="guide3317"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="-1.030698,3.4995793"
-       orientation="0,1"
-       id="guide3319"
-       inkscape:locked="false" />
-    <sodipodi:guide
-       position="12.00883,13.854499"
-       orientation="1,0"
-       id="guide3321"
-       inkscape:locked="false" />
-  </sodipodi:namedview>
-  <path
-     d="m 14.534063,3.9503791 c 0,-1.3818613 -1.094802,-2.502772 -2.47666,-2.5 H 4.0738029 c -1.385,0 
-2.5119848,1.1150001 -2.5119848,2.5 v 6.1154849 c 0,1.385 1.1030151,2.449 2.4880151,2.469 H 9.385721 l 
3.125,3.273378 v -3.273378 c 1.162733,-0.23178 2.023327,-1.283391 2.023342,-2.469 z M 12.464255,7.7783856 V 
9.7918421 H 3.4276702 V 7.7783856 Z M 8.4470192,3.7994121 8.4709889,5.70101 h -5.019349 l -0.02397,-1.9015979 
z"
-     id="path1970"
-     style="opacity:0.98000004"
-     inkscape:connector-curvature="0"
-     sodipodi:nodetypes="scssscccccscccccccccc" />
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg";>
+    <path d="m 3.121094 2 c -1.175782 0 -2.121094 0.945312 -2.121094 2.121094 v 6.757812 c 0 1.175782 
0.945312 2.121094 2.121094 2.121094 h 5.878906 l 4 3 v -3.011719 c 1.117188 -0.0625 2 -0.976562 2 -2.109375 v 
-6.757812 c 0 -1.175782 -0.945312 -2.121094 -2.121094 -2.121094 z m -0.121094 3 h 10 v 1 h -10 z m 0 2 h 10 v 
1 h -10 z m 0 2 h 10 v 1 h -10 z m 0 0" fill="#2e3436"/>
 </svg>
diff --git a/data/icons/scalable/actions/view-sidebar-symbolic.svg 
b/data/icons/scalable/actions/view-sidebar-symbolic.svg
index 559e11fe0..2d8bbec5e 100644
--- a/data/icons/scalable/actions/view-sidebar-symbolic.svg
+++ b/data/icons/scalable/actions/view-sidebar-symbolic.svg
@@ -1,78 +1,8 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
-   width="4.2333331mm"
-   height="4.2333331mm"
-   viewBox="0 0 4.2333331 4.2333331"
-   version="1.1"
-   id="svg10539"
-   inkscape:version="0.92.2 2405546, 2018-03-11"
-   sodipodi:docname="view-sidebar-symbolic.svg">
-  <defs
-     id="defs10533" />
-  <sodipodi:namedview
-     id="base"
-     pagecolor="#e8e8e7"
-     bordercolor="#666666"
-     borderopacity="1.0"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:zoom="44.8"
-     inkscape:cx="3.9955133"
-     inkscape:cy="6.9472436"
-     inkscape:document-units="px"
-     inkscape:current-layer="layer1"
-     showgrid="true"
-     fit-margin-top="0"
-     fit-margin-left="0"
-     fit-margin-right="0"
-     fit-margin-bottom="0"
-     inkscape:window-width="3440"
-     inkscape:window-height="1376"
-     inkscape:window-x="0"
-     inkscape:window-y="27"
-     inkscape:window-maximized="1">
-    <inkscape:grid
-       type="xygrid"
-       id="grid11109" />
-  </sodipodi:namedview>
-  <metadata
-     id="metadata10536">
-    <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 />
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-  <g
-     inkscape:label="Layer 1"
-     inkscape:groupmode="layer"
-     id="layer1"
-     transform="translate(45.205952,-342.50834)">
-    <path
-       
style="color:#bebebe;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#2e3436;fill-opacity:1;stroke:none;stroke-width:0.99999994;marker:none"
-       d="M 3 2 C 1.9093002 2 1 2.9093039 1 4 L 1 12 L 1 14 L 15 14 L 15 12 L 15 4 C 15 2.9093039 14.090704 
2 13 2 L 3 2 z M 3 4 L 6 4 L 6 12 L 3 12 L 3 4 z M 7 4 L 13 4 L 13 12 L 7 12 L 7 4 z "
-       transform="matrix(0.26458333,0,0,0.26458333,-45.205952,342.50834)"
-       id="rect10509" />
-    <rect
-       transform="matrix(0,-1,-1,0,0,0)"
-       
style="color:#bebebe;display:inline;overflow:visible;visibility:visible;opacity:0.35;fill:#2e3436;fill-opacity:1;stroke:none;stroke-width:0.26458332;marker:none"
-       id="rect10511"
-       width="2.1166327"
-       height="0.79374611"
-       x="-345.68332"
-       y="43.618412" />
-  </g>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg";>
+    <g fill="#2e3436">
+        <path d="m 6.5 14 v -12 h -5 v 12 z m 0 0" fill-opacity="0.35"/>
+        <path d="m 3 1 c -1.644531 0 -3 1.355469 -3 3 v 8 c 0 1.644531 1.355469 3 3 3 h 10 c 1.644531 0 3 
-1.355469 3 -3 v -8 c 0 -1.644531 -1.355469 -3 -3 -3 z m 0 2 h 10 c 0.570312 0 1 0.429688 1 1 v 8 c 0 
0.570312 -0.429688 1 -1 1 h -10 c -0.570312 0 -1 -0.429688 -1 -1 v -8 c 0 -0.570312 0.429688 -1 1 -1 z m 0 
0"/>
+        <path d="m 6 2 h 1 v 12 h -1 z m 0 0"/>
+    </g>
 </svg>
diff --git a/data/icons/scalable/actions/visible-symbolic.svg 
b/data/icons/scalable/actions/visible-symbolic.svg
index dd561d176..1e10a638e 100644
--- a/data/icons/scalable/actions/visible-symbolic.svg
+++ b/data/icons/scalable/actions/visible-symbolic.svg
@@ -1,150 +1,7 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   xmlns:osb="http://www.openswatchbook.org/uri/2009/osb";
-   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";
-   viewBox="0 0 15.999999 16"
-   id="svg7384"
-   height="16"
-   width="16"
-   version="1.1"
-   inkscape:version="0.91 r13725"
-   sodipodi:docname="gimp-visible.svg">
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="640"
-     inkscape:window-height="480"
-     id="namedview1508"
-     showgrid="false"
-     inkscape:zoom="14.75"
-     inkscape:cx="-214.7208"
-     inkscape:cy="89.87964"
-     inkscape:window-x="0"
-     inkscape:window-y="27"
-     inkscape:window-maximized="0"
-     inkscape:current-layer="svg7384" />
-  <metadata
-     id="metadata90">
-    <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:contributor>
-          <cc:Agent>
-            <dc:title>Barbara Muraus, Jakub Steiner, Klaus Staedtler</dc:title>
-          </cc:Agent>
-        </dc:contributor>
-        <dc:description>Images originally created as the &quot;Art Libre&quot; icon set. Extended and 
adopted for GIMP</dc:description>
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-  <defs
-     id="defs7386">
-    <linearGradient
-       osb:paint="solid"
-       id="linearGradient8074">
-      <stop
-         id="stop8072"
-         offset="0"
-         style="stop-color:#be00be;stop-opacity:1;" />
-    </linearGradient>
-    <linearGradient
-       osb:paint="solid"
-       id="linearGradient7561">
-      <stop
-         id="stop7558"
-         offset="0"
-         style="stop-color:#a5a5a5;stop-opacity:1;" />
-    </linearGradient>
-    <linearGradient
-       osb:paint="solid"
-       id="linearGradient7548">
-      <stop
-         id="stop7546"
-         offset="0"
-         style="stop-color:#ebebeb;stop-opacity:1;" />
-    </linearGradient>
-    <linearGradient
-       osb:paint="solid"
-       id="linearGradient7542">
-      <stop
-         id="stop7538"
-         offset="0"
-         style="stop-color:#c9c9c9;stop-opacity:1;" />
-    </linearGradient>
-    <linearGradient
-       gradientTransform="matrix(0,-735328.32,170712.69,0,2464326300,577972450)"
-       osb:paint="solid"
-       id="linearGradient19282">
-      <stop
-         id="stop19284"
-         offset="0"
-         style="stop-color:#b4b4b4;stop-opacity:1;" />
-    </linearGradient>
-    <linearGradient
-       gradientTransform="matrix(0.34682586,0,0,0.30620888,26.64813,342.03851)"
-       osb:paint="solid"
-       id="linearGradient19282-4">
-      <stop
-         id="stop19284-0"
-         offset="0"
-         style="stop-color:#bebebe;stop-opacity:1;" />
-    </linearGradient>
-    <linearGradient
-       gradientTransform="translate(403.721,85.791047)"
-       gradientUnits="userSpaceOnUse"
-       y2="210"
-       x2="-49"
-       y1="210"
-       x1="-55"
-       id="linearGradient7142"
-       xlink:href="#linearGradient19282-4" />
-    <linearGradient
-       gradientTransform="translate(403.721,85.791047)"
-       gradientUnits="userSpaceOnUse"
-       y2="210"
-       x2="-44"
-       y1="210"
-       x1="-60"
-       id="linearGradient7144"
-       xlink:href="#linearGradient19282-4" />
-  </defs>
-  <g
-     transform="translate(54.09015,81.24019)"
-     style="display:inline"
-     id="stock">
-    <g
-       id="gimp-visible"
-       style="display:inline"
-       transform="translate(-235.09035,-500.24019)">
-      <path
-         style="fill:url(#linearGradient7142);fill-opacity:1;stroke:none"
-         d="m -52,207 c -1.656854,0 -3,1.34315 -3,3 0,1.65685 1.343146,3 3,3 1.656854,0 3,-1.34315 3,-3 
0,-1.65685 -1.343146,-3 -3,-3 z m 0,1.53125 c 0.787268,0 1.4375,0.65408 1.4375,1.46875 0,0.81467 
-0.650232,1.5 -1.4375,1.5 -0.787268,0 -1.4375,-0.68533 -1.4375,-1.5 0,-0.81467 0.650232,-1.46875 
1.4375,-1.46875 z"
-         transform="translate(241.0002,217)"
-         id="path11920"
-         inkscape:connector-curvature="0" />
-      <path
-         style="fill:url(#linearGradient7144);fill-opacity:1;stroke:none"
-         d="m -52,204 c -4.41828,0 -8,6 -8,6 0,0 3.58172,6 8,6 4.41828,0 8,-6 8,-6 0,0 -3.58172,-6 -8,-6 z m 
0,2 c 3.865993,0 6,4 6,4 0,0 -2.134007,4 -6,4 -3.865993,0 -6,-4 -6,-4 0,0 2.134007,-4 6,-4 z"
-         transform="translate(241.0002,217)"
-         id="path11928"
-         inkscape:connector-curvature="0" />
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg";>
+    <g fill="#2e3436">
+        <path d="m 8 2 c -3.648438 0.003906 -6.832031 2.476562 -7.738281 6.007812 c 0.914062 3.527344 
4.097656 5.988282 7.738281 5.992188 c 3.648438 -0.003906 6.832031 -2.476562 7.738281 -6.011719 c -0.914062 
-3.523437 -4.097656 -5.984375 -7.738281 -5.988281 z m 0 2 c 2.210938 0 4 1.789062 4 4 s -1.789062 4 -4 4 s -4 
-1.789062 -4 -4 s 1.789062 -4 4 -4 z m 0 0"/>
+        <path d="m 10 8 c 0 1.105469 -0.894531 2 -2 2 s -2 -0.894531 -2 -2 s 0.894531 -2 2 -2 s 2 0.894531 2 
2 z m 0 0"/>
     </g>
-  </g>
 </svg>
diff --git a/shell/ev-window.c b/shell/ev-window.c
index a92795b38..6bc34f1ae 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -276,7 +276,7 @@ typedef struct {
 #define THUMBNAILS_SIDEBAR_ICON "view-grid-symbolic"
 #define ATTACHMENTS_SIDEBAR_ICON "mail-attachment-symbolic"
 #define LAYERS_SIDEBAR_ICON "view-paged-symbolic"
-#define ANNOTS_SIDEBAR_ICON "accessories-text-editor-symbolic"
+#define ANNOTS_SIDEBAR_ICON "annotations-text-symbolic"
 #define BOOKMARKS_SIDEBAR_ICON "user-bookmarks-symbolic"
 
 #define EV_PRINT_SETTINGS_FILE  "print-settings"


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