[gnote] Add icon for Special Notes notebook
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Add icon for Special Notes notebook
- Date: Tue, 6 Aug 2013 20:52:31 +0000 (UTC)
commit 3a3df83e6819e75dafdb8c506d9fa1017972e654
Author: Aurimas Černius <aurisc4 gmail com>
Date: Tue Aug 6 23:51:42 2013 +0300
Add icon for Special Notes notebook
data/icons/Makefile.am | 2 +
data/icons/hicolor_places_22x22_special-notes.png | Bin 0 -> 869 bytes
data/icons/hicolor_places_22x22_special-notes.svg | 446 ++++++++++++++++++++
.../specialnotes/specialnotesapplicationaddin.cpp | 6 +-
src/iconmanager.cpp | 1 +
src/iconmanager.hpp | 1 +
6 files changed, 454 insertions(+), 2 deletions(-)
---
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index b4c1110..4eaa1bc 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -32,6 +32,7 @@ private_icons = \
hicolor_places_22x22_active-notes.png \
hicolor_places_22x22_notebook.png \
hicolor_places_22x22_note.png \
+ hicolor_places_22x22_special-notes.png \
hicolor_places_24x24_notebook.png \
hicolor_places_24x24_note.png \
hicolor_status_16x16_pin-active.png \
@@ -53,6 +54,7 @@ noinst_DATA = \
hicolor_places_22x22_active-notes.svg \
hicolor_places_22x22_notebook.svg \
hicolor_places_22x22_note.svg \
+ hicolor_places_22x22_special-notes.svg \
$(NULL)
EXTRA_DIST = \
diff --git a/data/icons/hicolor_places_22x22_special-notes.png
b/data/icons/hicolor_places_22x22_special-notes.png
new file mode 100644
index 0000000..4058c77
Binary files /dev/null and b/data/icons/hicolor_places_22x22_special-notes.png differ
diff --git a/data/icons/hicolor_places_22x22_special-notes.svg
b/data/icons/hicolor_places_22x22_special-notes.svg
new file mode 100644
index 0000000..f9eb74e
--- /dev/null
+++ b/data/icons/hicolor_places_22x22_special-notes.svg
@@ -0,0 +1,446 @@
+<?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: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"
+ inkscape:export-ydpi="90.000000"
+ inkscape:export-xdpi="90.000000"
+
inkscape:export-filename="/home/jimmac/gfx/ximian/art/icons/application-icons/tomboy/22x22/tomboy-note.png"
+ width="22"
+ height="22"
+ id="svg11300"
+ sodipodi:version="0.32"
+ inkscape:version="0.48.4 r9939"
+ sodipodi:docname="hicolor_places_22x22_note.svg"
+ version="1.0"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ sodipodi:modified="TRUE">
+ <defs
+ id="defs3">
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient6502">
+ <stop
+ style="stop-color:#fbec6b;stop-opacity:1;"
+ offset="0"
+ id="stop6504" />
+ <stop
+ style="stop-color:#fbec6b;stop-opacity:0;"
+ offset="1"
+ id="stop6506" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient6494">
+ <stop
+ style="stop-color:#fff283;stop-opacity:1;"
+ offset="0"
+ id="stop6496" />
+ <stop
+ style="stop-color:#edd400;stop-opacity:1;"
+ offset="1"
+ id="stop6498" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient6485">
+ <stop
+ style="stop-color:#c4a000;stop-opacity:1;"
+ offset="0"
+ id="stop6487" />
+ <stop
+ style="stop-color:#c4a000;stop-opacity:0;"
+ offset="1"
+ id="stop6489" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient6463">
+ <stop
+ style="stop-color:#ffe46a;stop-opacity:1;"
+ offset="0"
+ id="stop6465" />
+ <stop
+ style="stop-color:#dab200;stop-opacity:1;"
+ offset="1"
+ id="stop6467" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient6451">
+ <stop
+ style="stop-color:white;stop-opacity:1;"
+ offset="0"
+ id="stop6453" />
+ <stop
+ style="stop-color:white;stop-opacity:0;"
+ offset="1"
+ id="stop6455" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient6417">
+ <stop
+ style="stop-color:black;stop-opacity:1;"
+ offset="0"
+ id="stop6419" />
+ <stop
+ style="stop-color:black;stop-opacity:0;"
+ offset="1"
+ id="stop6421" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient6407">
+ <stop
+ style="stop-color:white;stop-opacity:1;"
+ offset="0"
+ id="stop6409" />
+ <stop
+ style="stop-color:white;stop-opacity:0;"
+ offset="1"
+ id="stop6411" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient6377">
+ <stop
+ style="stop-color:#fff27e;stop-opacity:1;"
+ offset="0"
+ id="stop6379" />
+ <stop
+ style="stop-color:#edd400;stop-opacity:1;"
+ offset="1"
+ id="stop6381" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2526">
+ <stop
+ id="stop2528"
+ offset="0.0000000"
+ style="stop-color:#e7ebeb;stop-opacity:1.0000000;" />
+ <stop
+ style="stop-color:#e6ebeb;stop-opacity:1.0000000;"
+ offset="0.50000000"
+ id="stop2534" />
+ <stop
+ id="stop2530"
+ offset="1.0000000"
+ style="stop-color:#ffffff;stop-opacity:1.0000000;" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient5609">
+ <stop
+ style="stop-color:white;stop-opacity:1;"
+ offset="0"
+ id="stop5611" />
+ <stop
+ style="stop-color:white;stop-opacity:0;"
+ offset="1"
+ id="stop5613" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2994">
+ <stop
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="0"
+ id="stop2996" />
+ <stop
+ style="stop-color:#c9c9c9;stop-opacity:1;"
+ offset="1"
+ id="stop2998" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2974">
+ <stop
+ style="stop-color:#c1c1c1;stop-opacity:1;"
+ offset="0"
+ id="stop2976" />
+ <stop
+ style="stop-color:#acacac;stop-opacity:1;"
+ offset="1"
+ id="stop2978" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2966">
+ <stop
+ style="stop-color:#ffd1d1;stop-opacity:1;"
+ offset="0"
+ id="stop2968" />
+ <stop
+ id="stop3006"
+ offset="0.5"
+ style="stop-color:#ff1d1d;stop-opacity:1;" />
+ <stop
+ style="stop-color:#6f0000;stop-opacity:1;"
+ offset="1"
+ id="stop2970" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2919">
+ <stop
+ style="stop-color:#a3a4a0;stop-opacity:1;"
+ offset="0"
+ id="stop2921" />
+ <stop
+ style="stop-color:#888a85;stop-opacity:1;"
+ offset="1"
+ id="stop2923" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2873">
+ <stop
+ style="stop-color:#939393;stop-opacity:1;"
+ offset="0"
+ id="stop2875" />
+ <stop
+ style="stop-color:#424242;stop-opacity:1;"
+ offset="1"
+ id="stop2877" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient2865">
+ <stop
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="0"
+ id="stop2867" />
+ <stop
+ style="stop-color:#000000;stop-opacity:0;"
+ offset="1"
+ id="stop2869" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2855">
+ <stop
+ style="stop-color:#dfdfdf;stop-opacity:1;"
+ offset="0"
+ id="stop2857" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1;"
+ offset="1"
+ id="stop2859" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient2865"
+ id="radialGradient2871"
+ cx="23.5625"
+ cy="40.4375"
+ fx="23.5625"
+ fy="40.4375"
+ r="19.5625"
+ gradientTransform="matrix(1,0,0,0.348243,0,26.35543)"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5609"
+ id="linearGradient5615"
+ x1="26.213203"
+ y1="14.08672"
+ x2="26.130388"
+ y2="67.031342"
+ gradientUnits="userSpaceOnUse" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6377"
+ id="radialGradient6405"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.669712,8.698511e-18,1.702451e-8,1.220484,25.97726,-16.50639)"
+ cx="45.150326"
+ cy="35.915409"
+ fx="45.150326"
+ fy="35.915409"
+ r="21.626934" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6407"
+ id="radialGradient6413"
+ cx="43.875"
+ cy="35.90107"
+ fx="43.875"
+ fy="35.90107"
+ r="20.21875"
+ gradientTransform="matrix(10.88255,-6.454846e-8,-1.415492e-15,11.39737,-433.5968,-381.3811)"
+ gradientUnits="userSpaceOnUse" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6417"
+ id="radialGradient6423"
+ cx="39.907337"
+ cy="31.780704"
+ fx="39.907337"
+ fy="31.780704"
+ r="5.2591066"
+ gradientTransform="matrix(1,0,0,0.361345,56.21499,17.58983)"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6451"
+ id="linearGradient6457"
+ x1="12.237437"
+ y1="16.380905"
+ x2="13.209709"
+ y2="-3.8648715"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1,0,0,0.962963,6.249979e-2,0.715274)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6485"
+ id="linearGradient6491"
+ x1="19.980078"
+ y1="16.171146"
+ x2="18.953203"
+ y2="15.773398"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(0,2)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6502"
+ id="linearGradient6508"
+ x1="20.275574"
+ y1="15.640816"
+ x2="17.546797"
+ y2="14.933708"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(0,2)" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6494"
+ id="radialGradient4651"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.711724,0,0,1.375493,-12.98897,-5.261274)"
+ cx="18.25"
+ cy="16.83333"
+ fx="18.25"
+ fy="16.83333"
+ r="9.999998" />
+ </defs>
+ <sodipodi:namedview
+ stroke="#c4a000"
+ fill="#edd400"
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="0.25490196"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.4142136"
+ inkscape:cx="-121.52702"
+ inkscape:cy="40.940916"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:showpageshadow="false"
+ inkscape:window-width="1366"
+ inkscape:window-height="709"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ width="22px"
+ height="22px"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata4">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Jakub Steiner</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:source>http://jimmac.musichall.cz</dc:source>
+ <cc:license
+ rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
+ <dc:title></dc:title>
+ </cc:Work>
+ <cc:License
+ rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
+ <cc:permits
+ rdf:resource="http://web.resource.org/cc/Reproduction" />
+ <cc:permits
+ rdf:resource="http://web.resource.org/cc/Distribution" />
+ <cc:requires
+ rdf:resource="http://web.resource.org/cc/Notice" />
+ <cc:requires
+ rdf:resource="http://web.resource.org/cc/Attribution" />
+ <cc:permits
+ rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
+ <cc:requires
+ rdf:resource="http://web.resource.org/cc/ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+ <g
+ style="display:inline"
+ transform="matrix(0.100012,0,0,0.14525,-1.020832,-8.262217)"
+ id="g1197">
+ <path
+ d="M 32.706693,164.36026 C 22.319193,164.36026 13.956693,172.72276 13.956693,183.11026 C
13.956693,193.49776 22.319193,201.86026 32.706693,201.86026 L 205.20669,201.86026 C 215.59419,201.86026
223.95669,193.49776 223.95669,183.11026 C 223.95669,172.72276 215.59419,164.36026 205.20669,164.36026 L
32.706693,164.36026 z "
+ style="opacity:0.04787233;fill-rule:evenodd;stroke-width:3pt"
+ id="path1196" />
+ <path
+ d="M 32.706693,165.61026 C 23.011693,165.61026 15.206693,173.41526 15.206693,183.11026 C
15.206693,192.80526 23.011693,200.61026 32.706693,200.61026 L 205.20669,200.61026 C 214.90169,200.61026
222.70669,192.80526 222.70669,183.11026 C 222.70669,173.41526 214.90169,165.61026 205.20669,165.61026 L
32.706693,165.61026 z "
+ style="opacity:0.04787233;fill-rule:evenodd;stroke-width:3pt"
+ id="path1195" />
+ <path
+ d="M 32.706694,166.86026 C 23.704194,166.86026 16.456694,174.10776 16.456694,183.11026 C
16.456694,192.11276 23.704194,199.36026 32.706694,199.36026 L 205.20669,199.36026 C 214.20919,199.36026
221.45669,192.11276 221.45669,183.11026 C 221.45669,174.10776 214.20919,166.86026 205.20669,166.86026 L
32.706694,166.86026 z "
+ style="opacity:0.04787233;fill-rule:evenodd;stroke-width:3pt"
+ id="path1194" />
+ <path
+ d="M 32.706694,168.11026 C 24.396694,168.11026 17.706694,174.80026 17.706694,183.11026 C
17.706694,191.42026 24.396694,198.11026 32.706694,198.11026 L 205.20669,198.11026 C 213.51669,198.11026
220.20669,191.42026 220.20669,183.11026 C 220.20669,174.80026 213.51669,168.11026 205.20669,168.11026 L
32.706694,168.11026 z "
+ style="opacity:0.04787233;fill-rule:evenodd;stroke-width:3pt"
+ id="path1193" />
+ <path
+ d="M 32.707764,169.36026 C 25.090264,169.36026 18.957764,175.49276 18.957764,183.11026 C
18.957764,190.72776 25.090264,196.86026 32.707764,196.86026 L 205.20618,196.86026 C 212.82368,196.86026
218.95618,190.72776 218.95618,183.11026 C 218.95618,175.49276 212.82368,169.36026 205.20618,169.36026 L
32.707764,169.36026 z "
+ style="opacity:0.04787233;fill-rule:evenodd;stroke-width:3pt"
+ id="path1192" />
+ <path
+ d="M 32.706694,170.61026 C 25.781694,170.61026 20.206694,176.18526 20.206694,183.11026 C
20.206694,190.03526 25.781694,195.61026 32.706694,195.61026 L 205.20669,195.61026 C 212.13169,195.61026
217.70669,190.03526 217.70669,183.11026 C 217.70669,176.18526 212.13169,170.61026 205.20669,170.61026 L
32.706694,170.61026 z "
+ style="opacity:0.04787233;fill-rule:evenodd;stroke-width:3pt"
+ id="path1191" />
+ <path
+ d="M 32.706694,171.86026 C 26.474194,171.86026 21.456694,176.87776 21.456694,183.11026 C
21.456694,189.34276 26.474194,194.36026 32.706694,194.36026 L 205.20669,194.36026 C 211.43919,194.36026
216.45669,189.34276 216.45669,183.11026 C 216.45669,176.87776 211.43919,171.86026 205.20669,171.86026 L
32.706694,171.86026 z "
+ style="opacity:0.04787233;fill-rule:evenodd;stroke-width:3pt"
+ id="path1190" />
+ <path
+ d="M 32.706694,173.11026 C 27.166694,173.11026 22.706694,177.57026 22.706694,183.11026 C
22.706694,188.65026 27.166694,193.11026 32.706694,193.11026 L 205.20669,193.11026 C 210.74669,193.11026
215.20669,188.65026 215.20669,183.11026 C 215.20669,177.57026 210.74669,173.11026 205.20669,173.11026 L
32.706694,173.11026 z "
+ style="opacity:0.04787233;fill-rule:evenodd;stroke-width:3pt"
+ id="path1189" />
+ </g>
+ <path
+
style="color:black;fill:url(#radialGradient4651);fill-opacity:1;fill-rule:evenodd;stroke:#c4a000;stroke-width:0.99999982;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+ d="M 2.2768064,2.4999995 L 19.723191,2.4999995 C 20.153541,2.4999995 20.499997,2.7666284
20.499997,3.097822 L 20.499997,18.416042 C 20.499997,18.747236 17.94445,19.5 16.364434,19.5 L 2.2768064,19.5
C 1.8464559,19.5 1.5000005,19.233372 1.5000005,18.902178 L 1.5000005,3.097822 C 1.5000005,2.7666284
1.8464559,2.4999995 2.2768064,2.4999995 z "
+ id="rect6447"
+ sodipodi:nodetypes="ccccccccc" />
+ <path
+
style="opacity:1;color:black;fill:url(#linearGradient6508);fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient6491);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+ d="M 15.176777,19.044194 L 19.867418,13.585786 C 19.850622,14.941118 20.500475,16.734657
21.054602,17.784232 C 19.470741,18.45092 18.448214,18.92222 15.176777,19.044194 z "
+ id="path6483"
+ sodipodi:nodetypes="cccc" />
+ <path
+
style="opacity:0.71348314;color:black;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient6457);stroke-width:0.99999952;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+ d="M 2.4999998,3.4999964 L 2.4999998,18.499997 L 15.556349,18.499997 C 17.950338,18.576045
19.350115,18.105749 20.420495,17.395142 C 20.122192,16.54612 19.609886,15.901807 19.536612,14.586641 L
19.536612,3.4999964 L 2.4999998,3.4999964 z "
+ id="path6449"
+ sodipodi:nodetypes="ccccccc" />
+ <path
+ id="path35543-6-4"
+ d="m 14.75,8.1929271 c -0.148932,0 -0.297547,0.00756 -0.44297,0.02106 l -0.274216,1.4132814 c
-0.225762,0.049488 -0.44756,0.118728 -0.653908,0.2109384 L 12.345314,8.8467993 c -0.262328,0.155322
-0.490693,0.347004 -0.717188,0.5484384 l 0.611717,1.2867193 c -0.150137,0.168066 -0.286368,0.352686
-0.40078,0.548436 L 10.425781,11.04055 c -0.119964,0.275919 -0.208386,0.56455 -0.274218,0.864843 l
1.24453,0.675 c -0.01152,0.11346 -0.02106,0.220995 -0.02106,0.3375 0,0.116496 0.0096,0.22404 0.02106,0.3375 l
-1.24453,0.675 c 0.06581,0.300295 0.15426,0.588924 0.274218,0.864844 l 1.413283,-0.189844 c 0.114408,0.195751
0.250646,0.380369 0.400781,0.548439 l -0.611719,1.286717 c 0.226495,0.201434 0.45486,0.393114
0.717188,0.54844 l 1.033592,-0.991407 c 0.206348,0.09221 0.428146,0.161424 0.653908,0.210936 l
0.274216,1.413281 c 0.145423,0.0135 0.294031,0.02106 0.44297,0.02106 0.148932,0 0.297547,-0.0075
0.44297,-0.02106 l 0.274219,-1.413281 c 0.225759,-0.04949 0.447557,-0.118728 0.6539
06,-0.210936 l 1.033592,0.991407 c 0.262327,-0.155323 0.490692,-0.347006 0.717187,-0.54844 l
-0.611719,-1.286717 c 0.150139,-0.168066 0.286371,-0.352688 0.400782,-0.548439 l 1.413282,0.189844 c
0.119976,-0.27592 0.208386,-0.564549 0.274218,-0.864844 l -1.244531,-0.675 c 0.01152,-0.11346
0.02106,-0.220994 0.02106,-0.3375 0,-0.116496 -0.0095,-0.224038 -0.02106,-0.3375 l 1.244531,-0.675 C
19.282629,11.6051 19.194178,11.316469 19.074219,11.04055 l -1.413282,0.189843 c -0.114408,-0.19575
-0.250646,-0.380369 -0.400782,-0.548436 L 17.871874,9.3952377 C 17.645379,9.1938033 17.417014,9.0021249
17.154687,8.8467993 L 16.121095,9.8382069 C 15.914746,9.7459917 15.692948,9.6767649 15.467189,9.6272685 L
15.19297,8.2139871 c -0.145423,-0.0135 -0.294031,-0.02106 -0.44297,-0.02106 z m 0,2.6999989 c 1.118374,0
2.025,0.906627 2.025,2.025001 0,1.118374 -0.906626,2.025 -2.025,2.025 -1.118374,0 -2.025,-0.906626
-2.025,-2.025 0,-1.118374 0.906626,-2.025001 2.025,-2.025001 z"
+
style="color:#000000;fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="sccccccccccsccccccccccsccccccccccsccccccccccssssss" />
+ </g>
+</svg>
diff --git a/src/addins/specialnotes/specialnotesapplicationaddin.cpp
b/src/addins/specialnotes/specialnotesapplicationaddin.cpp
index 54614b8..6244ea6 100644
--- a/src/addins/specialnotes/specialnotesapplicationaddin.cpp
+++ b/src/addins/specialnotes/specialnotesapplicationaddin.cpp
@@ -22,6 +22,7 @@
#include "notebooks/notebook.hpp"
#include "notebooks/notebookmanager.hpp"
+#include "iconmanager.hpp"
#include "specialnotesapplicationaddin.hpp"
using gnote::Note;
@@ -52,9 +53,10 @@ namespace {
return false;
}
- /*virtual Glib::RefPtr<Gdk::Pixbuf> get_icon() override
+ virtual Glib::RefPtr<Gdk::Pixbuf> get_icon() override
{
- }*/
+ return gnote::IconManager::obj().get_icon(gnote::IconManager::SPECIAL_NOTES, 22);
+ }
};
}
diff --git a/src/iconmanager.cpp b/src/iconmanager.cpp
index 8883269..338e570 100644
--- a/src/iconmanager.cpp
+++ b/src/iconmanager.cpp
@@ -41,6 +41,7 @@ const char *IconManager::PIN_ACTIVE = "pin-active";
const char *IconManager::PIN_DOWN = "pin-down";
const char *IconManager::PIN_UP = "pin-up";
const char *IconManager::ACTIVE_NOTES = "active-notes";
+const char *IconManager::SPECIAL_NOTES = "special-notes";
//instance
IconManager IconManager::s_obj;
diff --git a/src/iconmanager.hpp b/src/iconmanager.hpp
index c25e1f7..bed890a 100644
--- a/src/iconmanager.hpp
+++ b/src/iconmanager.hpp
@@ -46,6 +46,7 @@ public:
static const char *PIN_DOWN;
static const char *PIN_UP;
static const char *ACTIVE_NOTES;
+ static const char *SPECIAL_NOTES;
Glib::RefPtr<Gdk::Pixbuf> get_icon(const std::string &, int);
Gtk::IconInfo lookup_icon(const std::string &, int);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]