[Sugar-devel] [PATCH] added new icon for write to journal description action

Walter Bender walter at sugarlabs.org
Thu Jan 12 12:26:20 EST 2012


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

This patch adds a new icon to sugar-artwork to be used as part of the standard
activity toolbar (used by widgets.py) to invoke a palette used to write to
metadata['description']. Plesase see the discussion on the feature page [1]
for "Write to Journal anytime" for more details.

[1] http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime

---
 icons/scalable/actions/Makefile.am       |    1 +
 icons/scalable/actions/write-journal.svg |   36 ++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 icons/scalable/actions/write-journal.svg

diff --git a/icons/scalable/actions/Makefile.am b/icons/scalable/actions/Makefile.am
index 19bcabc..7f53aab 100644
--- a/icons/scalable/actions/Makefile.am
+++ b/icons/scalable/actions/Makefile.am
@@ -104,6 +104,7 @@ icon_DATA =						\
 	view-spiral.svg					\
 	view-source.svg					\
 	view-triangle.svg				\
+	write-journal.svg				\
 	zoom-activity.svg 				\
 	zoom-best-fit.svg				\
 	zoom-groups.svg					\
diff --git a/icons/scalable/actions/write-journal.svg b/icons/scalable/actions/write-journal.svg
new file mode 100644
index 0000000..33f10af
--- /dev/null
+++ b/icons/scalable/actions/write-journal.svg
@@ -0,0 +1,36 @@
+<?xml version="1.0" ?><!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948)  --><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
+	<!ENTITY stroke_color "#FFFFFF">
+	<!ENTITY fill_color "#A0A0A0">
+]><svg enable-background="new 0 0 55.125 55" height="55px" id="Layer_1" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
+  <g
+   transform="translate(-0.25691667,0)"
+   style="fill:none;stroke:&stroke_color;;stroke-opacity:1">
+    <g
+   transform="translate(-3.1255,0)"
+   id="write-journal"
+   style="fill:none;stroke:&stroke_color;;stroke-opacity:1;display:block">
+      <path
+   d="m 8.9375,6 0,43 29.46875,0 c 2.804,0 4.34375,-1.83275 4.34375,-4.34375 l 0,-19.53125 0.1875,-0.25 8.03125,-10.34375 c 0.022,-0.023 0.125,-0.1875 0.125,-0.1875 0.096,-0.161 0.15625,-0.3515 0.15625,-0.5625 0,-0.061 0.012,-0.1295 0,-0.1875 -0.087,-0.763 -0.73225,-1.67525 -1.65625,-2.40625 -0.923,-0.728 -1.95975,-1.12025 -2.71875,-1.03125 -0.326,0.042 -0.78125,0.375 -0.78125,0.375 l -3.15625,4.15625 -0.1875,0.25 0,-4.59375 C 42.75,8.16775 40.55625,6 38.40625,6 L 8.9375,6 z"
+   transform="translate(3.1255,0)"
+   style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
+      <line
+   style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
+   x1="21.341"
+   x2="21.341"
+   y1="6.121"
+   y2="48.881" />
+      <path
+   d="m 7.384,14.464 c 0,0 2.084,0.695 4.17,0.695 2.086,0 4.173,-0.695 4.173,-0.695"
+   style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
+      <path
+   d="m 7.384,28.021 c 0,0 1.912,0.695 4.345,0.695 2.433,0 3.999,-0.695 3.999,-0.695"
+   style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
+      <path
+   d="m 7.384,41.232 c 0,0 1.736,0.695 4.518,0.695 2.781,0 3.825,-0.695 3.825,-0.695"
+   style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
+    </g>
+    <path
+   d="m 42.806917,14.85 -11.91627,15.831262 -3.475,8.266 c -0.046,0.104 -0.018,0.223 0.069,0.295 0.089,0.072 0.211,0.084 0.307,0.02 l 7.826,-5.037 7.18927,-9.175262"
+   style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-opacity:1" />
+  </g>
+</svg>
\ No newline at end of file
-- 
1.7.7.5



More information about the Sugar-devel mailing list