[banshee] [Audiobook] Custom source icons (bgo#611857)



commit 39ed785f913830de084087e8f2dc9500fe96fe2e
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Sat Mar 6 11:23:45 2010 +1100

    [Audiobook] Custom source icons (bgo#611857)
    
    Icons from Andreas Nilsson and Jakub Steiner.

 .../Banshee.Audiobook/AudiobookLibrarySource.cs    |    2 +-
 .../ThemeIcons/16x16/categories/audiobook.png      |  Bin 0 -> 584 bytes
 .../ThemeIcons/22x22/categories/audiobook.png      |  Bin 0 -> 780 bytes
 .../ThemeIcons/48x48/categories/audiobook.png      |  Bin 0 -> 1420 bytes
 .../ThemeIcons/scalable/categories/audiobook.svg   |   83 ++++++++++++++++++++
 5 files changed, 84 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
index 016c6d1..efb11ef 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
@@ -47,7 +47,7 @@ namespace Banshee.Audiobook
             NotMediaTypes = TrackMediaAttributes.Podcast | TrackMediaAttributes.VideoStream | TrackMediaAttributes.Music;
 
             // FIXME
-            Properties.SetStringList ("Icon.Name", "document", "source-library");
+            Properties.SetStringList ("Icon.Name", "audiobook", "source-library");
             Properties.SetString ("TrackView.ColumnControllerXml", String.Format (@"
                 <column-controller>
                   <add-all-defaults />
diff --git a/src/Extensions/Banshee.Audiobook/ThemeIcons/16x16/categories/audiobook.png b/src/Extensions/Banshee.Audiobook/ThemeIcons/16x16/categories/audiobook.png
new file mode 100644
index 0000000..c3b3dd4
Binary files /dev/null and b/src/Extensions/Banshee.Audiobook/ThemeIcons/16x16/categories/audiobook.png differ
diff --git a/src/Extensions/Banshee.Audiobook/ThemeIcons/22x22/categories/audiobook.png b/src/Extensions/Banshee.Audiobook/ThemeIcons/22x22/categories/audiobook.png
new file mode 100644
index 0000000..4969374
Binary files /dev/null and b/src/Extensions/Banshee.Audiobook/ThemeIcons/22x22/categories/audiobook.png differ
diff --git a/src/Extensions/Banshee.Audiobook/ThemeIcons/48x48/categories/audiobook.png b/src/Extensions/Banshee.Audiobook/ThemeIcons/48x48/categories/audiobook.png
new file mode 100644
index 0000000..2300e3e
Binary files /dev/null and b/src/Extensions/Banshee.Audiobook/ThemeIcons/48x48/categories/audiobook.png differ
diff --git a/src/Extensions/Banshee.Audiobook/ThemeIcons/scalable/categories/audiobook.svg b/src/Extensions/Banshee.Audiobook/ThemeIcons/scalable/categories/audiobook.svg
new file mode 100644
index 0000000..97bbe38
--- /dev/null
+++ b/src/Extensions/Banshee.Audiobook/ThemeIcons/scalable/categories/audiobook.svg
@@ -0,0 +1,83 @@
+<?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"; width="24" height="24" id="svg2816" version="1.1" inkscape:version="0.46+devel" sodipodi:docname="audiobook.svg" inkscape:export-filename="/home/andreas/Icons/audiobook.png" inkscape:export-xdpi="90" inkscape:export-ydpi="90">
+  <defs id="defs2818">
+    <linearGradient inkscape:collect="always" id="linearGradient3804">
+      <stop style="stop-color: rgb(227, 227, 224); stop-opacity: 1;" offset="0" id="stop3806"/>
+      <stop style="stop-color: rgb(255, 255, 255); stop-opacity: 1;" offset="1" id="stop3808"/>
+    </linearGradient>
+    <linearGradient inkscape:collect="always" id="linearGradient3796">
+      <stop style="stop-color: rgb(46, 52, 54); stop-opacity: 1;" offset="0" id="stop3798"/>
+      <stop style="stop-color: rgb(85, 96, 100); stop-opacity: 1;" offset="1" id="stop3800"/>
+    </linearGradient>
+    <linearGradient inkscape:collect="always" id="linearGradient3788">
+      <stop style="stop-color: rgb(77, 79, 76); stop-opacity: 1;" offset="0" id="stop3790"/>
+      <stop style="stop-color: rgb(93, 95, 90); stop-opacity: 1;" offset="1" id="stop3792"/>
+    </linearGradient>
+    <linearGradient id="linearGradient3774" inkscape:collect="always">
+      <stop id="stop3776" offset="0" style="stop-color: rgb(204, 132, 18); stop-opacity: 1;"/>
+      <stop style="stop-color: rgb(145, 94, 13); stop-opacity: 1;" offset="0.63773185" id="stop11337"/>
+      <stop id="stop3778" offset="1" style="stop-color: rgb(176, 114, 16); stop-opacity: 1;"/>
+    </linearGradient>
+    <linearGradient inkscape:collect="always" id="linearGradient3762">
+      <stop style="stop-color: rgb(194, 121, 2); stop-opacity: 1;" offset="0" id="stop3764"/>
+      <stop style="stop-color: rgb(65, 40, 1); stop-opacity: 1;" offset="1" id="stop3766"/>
+    </linearGradient>
+    <linearGradient inkscape:collect="always" id="linearGradient3751">
+      <stop style="stop-color: rgb(255, 255, 255); stop-opacity: 1;" offset="0" id="stop3753"/>
+      <stop style="stop-color: rgb(255, 255, 255); stop-opacity: 0;" offset="1" id="stop3755"/>
+    </linearGradient>
+    <inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 16 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="32 : 16 : 1" inkscape:persp3d-origin="16 : 10.666667 : 1" id="perspective2824"/>
+    <inkscape:perspective id="perspective2834" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <inkscape:perspective id="perspective2874" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <inkscape:perspective id="perspective3675" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <inkscape:perspective id="perspective3705" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <radialGradient inkscape:collect="always" xlink:href="#linearGradient3689-2" id="radialGradient3695-7" cx="11.663706" cy="16.864361" fx="11.663706" fy="16.864361" r="8.9593287" gradientTransform="matrix(1.40987, 1.10725e-06, -1.07654e-07, 1.72083, -4.81927, -12.6457)" gradientUnits="userSpaceOnUse"/>
+    <linearGradient inkscape:collect="always" id="linearGradient3689-2">
+      <stop style="stop-color: rgb(193, 125, 17); stop-opacity: 1;" offset="0" id="stop3691-1"/>
+      <stop style="stop-color: rgb(156, 101, 14); stop-opacity: 1;" offset="1" id="stop3693-0"/>
+    </linearGradient>
+    <linearGradient inkscape:collect="always" xlink:href="#linearGradient3751" id="linearGradient3757" x1="11.880713" y1="16.711555" x2="11.880713" y2="28.815086" gradientUnits="userSpaceOnUse" gradientTransform="translate(-0.00914525)"/>
+    <linearGradient inkscape:collect="always" xlink:href="#linearGradient3762" id="linearGradient3768" x1="9.0500422" y1="13.466393" x2="9.0500422" y2="30.280132" gradientUnits="userSpaceOnUse" gradientTransform="translate(-0.00914525)"/>
+    <linearGradient inkscape:collect="always" xlink:href="#linearGradient3788" id="linearGradient3794" x1="-36.3125" y1="21.75" x2="-34.116978" y2="21.75" gradientUnits="userSpaceOnUse" gradientTransform="translate(40.9268)"/>
+    <linearGradient inkscape:collect="always" xlink:href="#linearGradient3796" id="linearGradient3802" x1="-23.938459" y1="17.605555" x2="-23.938459" y2="29.868673" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1, 0, 0, 1.10652, 30.9268, -45.968)"/>
+    <linearGradient inkscape:collect="always" xlink:href="#linearGradient3804" id="linearGradient3810" x1="-23.71875" y1="10.5625" x2="-14.468698" y2="10.5625" gradientUnits="userSpaceOnUse" gradientTransform="translate(30.9268)"/>
+    <inkscape:perspective id="perspective3822" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <inkscape:perspective id="perspective3844" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <inkscape:perspective id="perspective3869" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <inkscape:perspective id="perspective3891" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <inkscape:perspective id="perspective14372" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d"/>
+    <filter color-interpolation-filters="sRGB" inkscape:collect="always" id="filter9725" x="-0.06826365" width="1.1365273" y="-1.0449589" height="3.0899179">
+      <feGaussianBlur inkscape:collect="always" stdDeviation="5.6601942" id="feGaussianBlur9727"/>
+    </filter>
+    <linearGradient inkscape:collect="always" xlink:href="#linearGradient3774" id="linearGradient11339" x1="14.636147" y1="11.837549" x2="15.142301" y2="32.343647" gradientUnits="userSpaceOnUse"/>
+  </defs>
+  <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="1" inkscape:cx="23.340417" inkscape:cy="-5.6502196" inkscape:current-layer="layer1" showgrid="false" inkscape:grid-bbox="true" inkscape:document-units="px" inkscape:snap-bbox="true" inkscape:snap-nodes="false" inkscape:snap-grids="false" inkscape:window-width="1114" inkscape:window-height="805" inkscape:window-x="1854" inkscape:window-y="153" inkscape:window-maximized="0" borderlayer="true" inkscape:showpageshadow="false" showborder="false">
+    <inkscape:grid type="xygrid" id="grid2840" empspacing="5" visible="true" enabled="true" snapvisiblegridlinesonly="true"/>
+  </sodipodi:namedview>
+  <metadata id="metadata2821">
+    <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 id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer" transform="translate(0, -8)">
+    <path transform="matrix(-0.09452, 0, 0, 0.120958, 26.6108, 0.797687)" style="overflow: visible; marker: none; opacity: 0.727723; fill: rgb(0, 0, 0); fill-opacity: 1; fill-rule: nonzero; stroke: none; stroke-width: 16; visibility: visible; display: inline; filter: url(#filter9725);" d="m 59.696666,238 177.606664,0 c 5.92596,0 10.69667,2.899 10.69667,6.5 0,3.601 -4.77071,6.5 -10.69667,6.5 L 59.696666,251 C 53.770713,251 49,248.101 49,244.5 49,240.899 53.770713,238 59.696666,238 z" id="path6566" sodipodi:nodetypes="ccsccsc"/>
+    <rect style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: rgb(255, 255, 255); fill-opacity: 1; stroke: none; stroke-width: 1; visibility: visible; display: inline;" id="rect3772" width="24.218409" height="23.864855" x="0.36585411" y="33.296757" rx="0" ry="0"/>
+    <path style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: url(#linearGradient3810) rgb(0, 0, 0); fill-opacity: 1; fill-rule: nonzero; stroke: rgb(143, 89, 2); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-opacity: 1; stroke-dashoffset: 0pt; visibility: visible; display: inline;" d="m 4.6153967,9.5051653 15.9017393,-0.03582 -0.0625,19.0365087 c 0,0.620718 -0.499712,1.12043 -1.12043,1.12043 l -14.7188093,0 c -0.620718,0 -1.12043,-0.499712 -1.12043,-1.12043 l 0,-17.880259 c 0,-0.620718 0.499712,-1.1204296 1.12043,-1.1204296 z" id="rect2889" sodipodi:nodetypes="cccccccc"/>
+    <path style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: url(#linearGradient11339) rgb(0, 0, 0); fill-opacity: 1; fill-rule: nonzero; stroke: url(#linearGradient3768) rgb(0, 0, 0); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-opacity: 1; stroke-dashoffset: 0pt; visibility: visible; display: inline;" d="m 4.3868487,11.48961 15.2595063,0 c 0.459585,0 0.829576,0.36999 0.829576,0.829575 l 0,18.25108 -16.0890823,-0.04542 c -0.459585,0 -0.829575,-0.36999 -0.829575,-0.829575 l 0,-17.37608 c 0,-0.459585 0.36999,-0.829575 0.829575,-0.829575 z" id="rect2842" sodipodi:nodetypes="cccccccc"/>
+    <path style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: url(#linearGradient3794) rgb(0, 0, 0); fill-opacity: 1; fill-rule: nonzero; stroke: rgb(46, 52, 54); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-opacity: 1; stroke-dashoffset: 0pt; visibility: visible; display: inline;" d="m 7.0808397,30.52484 -2.657749,0 c -0.522944,0 -0.943941,-0.436971 -0.943941,-0.979755 l 0,-18.994914 c 0.03008,0.645887 0.345953,1.001538 0.943941,0.926494 l 2.657749,0" id="rect2842-3" sodipodi:nodetypes="cccccc"/>
+    <rect style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: url(#linearGradient3802) rgb(0, 0, 0); fill-opacity: 1; fill-rule: nonzero; stroke: none; stroke-width: 1; visibility: visible; display: inline;" id="rect2893" width="1.016466" height="18.401556" x="5.9718513" y="-30.557293" rx="0.50823301" ry="0.56833673" transform="scale(1, -1)"/>
+    <rect style="overflow: visible; marker: none; opacity: 0.196721; color: rgb(0, 0, 0); fill: none; stroke: url(#linearGradient3757) rgb(0, 0, 0); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-opacity: 1; stroke-dasharray: none; stroke-dashoffset: 0pt; visibility: visible; display: inline;" id="rect2842-1" width="15.043657" height="16.972731" x="4.5315266" y="12.544885" rx="0" ry="0"/>
+    <path style="fill: none; stroke: rgb(46, 52, 54); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;" d="m 8.0893817,9.4830684 -3.52443,0 c -0.409302,0 -1.136189,0.3846758 -1.016466,1.4142136" id="path3735" sodipodi:nodetypes="ccc"/>
+    <rect style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: rgb(170, 110, 15); fill-opacity: 1; fill-rule: nonzero; stroke: none; stroke-width: 1; visibility: visible; display: inline;" id="rect3812" width="8" height="1.0625" x="8.9892769" y="15.985216" rx="0" ry="0"/>
+    <rect style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: rgb(199, 141, 48); fill-opacity: 1; fill-rule: nonzero; stroke: none; stroke-width: 1; visibility: visible; display: inline;" id="rect3812-2" width="7.9375" height="0.92991745" x="9.0205269" y="17.047716" rx="0" ry="0"/>
+    <rect style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: rgb(170, 110, 15); fill-opacity: 1; fill-rule: nonzero; stroke: none; stroke-width: 1; visibility: visible; display: inline;" id="rect3812-1" width="6.0625" height="1.0625" x="9.9736519" y="19.047716" rx="0" ry="0"/>
+    <rect style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: rgb(199, 141, 48); fill-opacity: 1; fill-rule: nonzero; stroke: none; stroke-width: 1; visibility: visible; display: inline;" id="rect3812-2-7" width="6" height="1.03125" x="10.036152" y="20.016466" rx="0" ry="0"/>
+    <path style="overflow: visible; marker: none; color: rgb(0, 0, 0); fill: none; fill-opacity: 1; fill-rule: nonzero; stroke: rgb(255, 255, 255); stroke-width: 1; visibility: visible; display: inline; stroke-opacity: 1; opacity: 0.346535; stroke-linecap: round;" d="m 4.4636116,4.5987576 14.9376304,0" id="path11341" transform="translate(0, 8)"/>
+    <rect ry="0" rx="0" y="13.172203" x="7.0343513" height="16.854759" width="1.016466" id="rect11343" style="overflow: visible; marker: none; opacity: 0.0693069; color: rgb(0, 0, 0); fill: rgb(255, 255, 255); fill-opacity: 1; fill-rule: nonzero; stroke: none; stroke-width: 1; visibility: visible; display: inline;"/>
+  </g>
+</svg>
\ No newline at end of file



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