[Sugar-devel] [PATCH] adding icon for accessing user documents in Journal volumes toolbar

Walter Bender walter at sugarlabs.org
Mon Aug 15 10:43:18 EDT 2011


From: Walter Bender <walter.bender at gmail.com>

This patch adds an icon to sugar-artwork devices to represent the user's
$HOME/Documents directory. This icon is used when mounting $HOME/Documents to
the volumestoolbar in the Sugar Journal.

The icon has been reviewed by the design team as per:
http://lists.sugarlabs.org/archive/sugar-devel/2011-May/031190.html

---
 icons/scalable/device/Makefile.am        |    3 ++-
 icons/scalable/device/user-documents.svg |   15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)
 create mode 100644 icons/scalable/device/user-documents.svg

diff --git a/icons/scalable/device/Makefile.am b/icons/scalable/device/Makefile.am
index 8c165e6..6d3c9fd 100644
--- a/icons/scalable/device/Makefile.am
+++ b/icons/scalable/device/Makefile.am
@@ -93,7 +93,8 @@ icon_DATA =				\
 	speaker-muted-066.svg		\
 	speaker-muted-100.svg		\
 	touchpad-capacitive.svg		\
-	touchpad-resistive.svg
+	touchpad-resistive.svg          \
+        user-documents.svg
 
 EXTRA_DIST = $(icon_DATA)
 
diff --git a/icons/scalable/device/user-documents.svg b/icons/scalable/device/user-documents.svg
new file mode 100644
index 0000000..df046f8
--- /dev/null
+++ b/icons/scalable/device/user-documents.svg
@@ -0,0 +1,15 @@
+<?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 "#010101">
+    <!ENTITY fill_color "#FFFFFF">
+    ]>
+<svg height="55px" viewBox="0 0 55 55" width="55px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <path d="m 7,14 5,-5 10,0 5,5 20,0 0,31 -40,0 z" style="fill:&fill_color;;stroke:&stroke_color;;stroke-width:3;stroke-linecap:round;stroke-linejoin:round" />
+      <g transform="translate(14.5,17.25)">
+          <g transform="scale(.45)">
+              <path d="M 43.82,6.088 L 22.876,6.088 L 10.932,18.027 L 10.932,48.914 L 43.819,48.914 L 43.82,6.088 z" fill="&fill_color;" stroke="&stroke_color;" stroke-width="5" />
+              <polyline fill="none" points="10.932,20.027 24.876,20.027 24.876,6.088" stroke="&stroke_color;" stroke-width="5"/>
+          </g>
+      </g>
+</svg>
-- 
1.7.4.4



More information about the Sugar-devel mailing list