Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2012-08-12 18:17:35 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2012-08-12 18:17:35 (GMT)
commit92be8a8f829b082003076f6b328c5277bd0d4b6d (patch)
treee6c9b8c111e605574d55eb7d9b08b3dec7d2ef7f
parenta8fdfc335652c2bfe0984f3334aad91cabfe5f62 (diff)
Add SN icon
-rw-r--r--share/icons/sugar/scalable/apps/sugar-network.svg74
-rw-r--r--share/sugar/extensions/globalkey/sn.py (renamed from globalkey/sn.py)2
-rw-r--r--sweets.recipe6
3 files changed, 78 insertions, 4 deletions
diff --git a/share/icons/sugar/scalable/apps/sugar-network.svg b/share/icons/sugar/scalable/apps/sugar-network.svg
new file mode 100644
index 0000000..0ffe3cd
--- /dev/null
+++ b/share/icons/sugar/scalable/apps/sugar-network.svg
@@ -0,0 +1,74 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
+ <!ENTITY stroke_color "#666666">
+ <!ENTITY fill_color "#ffffff">
+]><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"
+ enable-background="new 0 0 55 55"
+ height="55px"
+ version="1.1"
+ viewBox="0 0 55 55"
+ width="55px"
+ x="0px"
+ xml:space="preserve"
+ y="0px"
+ id="svg2"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="sugar-network.svg"><metadata
+ id="metadata17"><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="defs15" /><sodipodi:namedview
+ pagecolor="#ff0400"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0.5254902"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1278"
+ inkscape:window-height="719"
+ id="namedview13"
+ showgrid="false"
+ inkscape:zoom="5.1090909"
+ inkscape:cx="-6.6548043"
+ inkscape:cy="27.5"
+ inkscape:window-x="0"
+ inkscape:window-y="32"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="svg2" /><circle
+ cx="27.5"
+ cy="27.5"
+ r="20.75"
+ id="circle7"
+ sodipodi:cx="27.5"
+ sodipodi:cy="27.5"
+ sodipodi:rx="20.75"
+ sodipodi:ry="20.75"
+ style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-opacity:1" /><g
+ id="g9"
+ transform="translate(-5.6761566,3.5231317)">
+ <path
+ d="m 27.499,32.994 c -3.03,0 -5.492,-2.46 -5.492,-5.493 0,-3.036 2.462,-5.495 5.493,-5.495 3.037,0 5.493,2.459 5.493,5.495 -0.003,3.038 -2.459,5.493 -5.494,5.493 z"
+ id="path11"
+ inkscape:connector-curvature="0"
+ style="fill:&fill_color;fill-opacity:0.93333334" />
+ </g><g
+ transform="translate(0.09786474,-6.5569396)"
+ id="g9-7"><path
+ d="m 27.499,32.994 c -3.03,0 -5.492,-2.46 -5.492,-5.493 0,-3.036 2.462,-5.495 5.493,-5.495 3.037,0 5.493,2.459 5.493,5.495 -0.003,3.038 -2.459,5.493 -5.494,5.493 z"
+ id="path11-5"
+ inkscape:connector-curvature="0"
+ style="fill:&fill_color;fill-opacity:0.93333334" /></g><g
+ transform="translate(5.969751,3.4252669)"
+ id="g9-7-9"><path
+ d="m 27.499,32.994 c -3.03,0 -5.492,-2.46 -5.492,-5.493 0,-3.036 2.462,-5.495 5.493,-5.495 3.037,0 5.493,2.459 5.493,5.495 -0.003,3.038 -2.459,5.493 -5.494,5.493 z"
+ id="path11-5-2"
+ inkscape:connector-curvature="0"
+ style="fill:&fill_color;fill-opacity:0.93333334" /></g></svg>
diff --git a/globalkey/sn.py b/share/sugar/extensions/globalkey/sn.py
index 890a687..598649f 100644
--- a/globalkey/sn.py
+++ b/share/sugar/extensions/globalkey/sn.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2012, Aleksey Lim
+# Copyright (C) 2012 Aleksey Lim
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/sweets.recipe b/sweets.recipe
index 6360083..cecc487 100644
--- a/sweets.recipe
+++ b/sweets.recipe
@@ -12,10 +12,10 @@ stability = developer
requires = sugar-network; pywebkitgtk
[Build]
-extdir = /opt/sweets/sugar/share/sugar/extensions
+datadir = /opt/sweets/sugar/share
plugindir = /opt/sweets/sugar/src/jarabe/plugins
-install = install -m 0755 -d %(DESTDIR)s/%(extdir)s/globalkey &&
- cp -r globalkey/*.py %(DESTDIR)s/%(extdir)s/globalkey/ &&
+install = install -m 0755 -d %(DESTDIR)s/%(datadir)s &&
+ cp -r share/* %(DESTDIR)s/%(datadir)s/ &&
install -m 0755 -d %(DESTDIR)s/%(plugindir)s &&
cp -r plugin %(DESTDIR)s/%(plugindir)s/sn &&
true