[rhythmbox] soundcloud: better logo, via https://github.com/ricburton/brandfont/



commit 3838ecaac9d0216df79b29f281811b44554be76a
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon Nov 10 21:53:32 2014 +1000

    soundcloud: better logo, via https://github.com/ricburton/brandfont/

 plugins/soundcloud/Makefile.am             |    2 +-
 plugins/soundcloud/soundcloud-logo.png     |  Bin 406 -> 0 bytes
 plugins/soundcloud/soundcloud-symbolic.svg |   63 ++++++++++++++++++++++++++++
 plugins/soundcloud/soundcloud.py           |    2 +-
 4 files changed, 65 insertions(+), 2 deletions(-)
---
diff --git a/plugins/soundcloud/Makefile.am b/plugins/soundcloud/Makefile.am
index 8de1b04..1032380 100644
--- a/plugins/soundcloud/Makefile.am
+++ b/plugins/soundcloud/Makefile.am
@@ -8,7 +8,7 @@ plugin_in_files = soundcloud.plugin.in
 plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
 
 gtkbuilderdir = $(plugindatadir)
-gtkbuilder_DATA = soundcloud.ui powered-by-soundcloud.png soundcloud-logo.png
+gtkbuilder_DATA = soundcloud.ui powered-by-soundcloud.png soundcloud-symbolic.svg
 
 EXTRA_DIST = $(plugin_in_files) $(gtkbuilder_DATA)
 
diff --git a/plugins/soundcloud/soundcloud-symbolic.svg b/plugins/soundcloud/soundcloud-symbolic.svg
new file mode 100644
index 0000000..c7b4e25
--- /dev/null
+++ b/plugins/soundcloud/soundcloud-symbolic.svg
@@ -0,0 +1,63 @@
+<?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";
+   viewBox="0 -64 16 6.9375"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.5 r10040"
+   width="64"
+   height="64"
+   sodipodi:docname="bf_soundcloud.svg">
+  <metadata
+     id="metadata12">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs10" />
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1166"
+     inkscape:window-height="884"
+     id="namedview8"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:zoom="7.375"
+     inkscape:cx="-9.3559322"
+     inkscape:cy="23.078919"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg2" />
+  <g
+     transform="matrix(0.03125,0,0,-0.03125,0,-54.5)"
+     id="g4">
+    <path
+       d="m 6,171 v 0 0 0 c 1,0 2,-1 2,-2 l 4,-29 -4,-28 v 0 0 0 c 0,-1 -1,-2 -2,-2 -1,0 -2,1 -2,2 l -4,28 
4,29 c 0,1 1,2 2,2 z m 21,15 v 0 0 0 l 6,-46 -6,-45 c 0,-1 -1,-2 -2,-2 -1,0 -2,1 -2,2 l -5,45 5,46 c 0,1 1,2 
2,2 1,0 2,-1 2,-2 z m 79,43 v 0 0 0 c 2,0 4,-2 4,-4 l 4,-85 -4,-54 v 0 c 0,-2 -2,-4 -4,-4 -2,0 -4,2 -4,4 l 
-4,54 4,85 c 0,2 2,4 4,4 z M 65,199 v 0 0 0 c 2,0 3,-1 3,-3 l 5,-56 -5,-54 c 0,-2 -1,-3 -3,-3 -2,0 -3,1 -3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142 c 0,4 3,7 7,7 z m 194,-81 v 0 0 0 c 35,0 63,-28 63,-63 0,-35 -28,-63 -63,-63 H 274 c -4,0 -6,3 
-6,7 v 200 c 0,4 1,5 6,7 12,5 26,8 40,8 58,0 106,-44 111,-101 8,3 15,5 24,5 z"
+       id="path6"
+       inkscape:connector-curvature="0"
+       style="fill:currentColor" />
+  </g>
+</svg>
diff --git a/plugins/soundcloud/soundcloud.py b/plugins/soundcloud/soundcloud.py
index a68a2c6..d0fa4a1 100644
--- a/plugins/soundcloud/soundcloud.py
+++ b/plugins/soundcloud/soundcloud.py
@@ -64,7 +64,7 @@ class SoundCloudPlugin(GObject.Object, Peas.Activatable):
                self.entry_type = SoundCloudEntryType()
                db.register_entry_type(self.entry_type)
 
-               logofile = rb.find_plugin_file(self, "soundcloud-logo.png")
+               logofile = rb.find_plugin_file(self, "soundcloud-symbolic.svg")
                icon = Gio.FileIcon.new(Gio.File.new_for_path(logofile))
 
                model = RB.RhythmDBQueryModel.new_empty(db)


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