[Pkg-privacy-commits] [xul-ext-monkeysphere] 53/296: improve status icons
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.
commit 99fd54e00d81143a302e00c8d19030db2cc3e7c6
Author: Jameson Rollins <jrollins at finestructure.net>
Date: Wed Jan 13 17:15:52 2010 -0500
improve status icons
---
chrome/content/bad.png | Bin 4340 -> 936 bytes
chrome/content/bad.svg | 91 ++++++++++++++++++++++++++++++
chrome/content/default.png | Bin 937 -> 0 bytes
chrome/content/error.png | Bin 4567 -> 927 bytes
chrome/content/error.svg | 122 +++++++++++++++++++++++++++++++++++++++++
chrome/content/good.png | Bin 1190 -> 937 bytes
chrome/content/monkeysphere.js | 4 +-
7 files changed, 214 insertions(+), 3 deletions(-)
diff --git a/chrome/content/bad.png b/chrome/content/bad.png
index 296415e..a80efa5 100644
Binary files a/chrome/content/bad.png and b/chrome/content/bad.png differ
diff --git a/chrome/content/bad.svg b/chrome/content/bad.svg
new file mode 100644
index 0000000..69faee4
--- /dev/null
+++ b/chrome/content/bad.svg
@@ -0,0 +1,91 @@
+<?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"
+ id="svg2894"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ width="16"
+ height="16"
+ sodipodi:docname="bad.svg"
+ inkscape:export-filename="/home/jrollins/cmrg/monkeysphere/msva/git/xul-ext/chrome/content/error.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <metadata
+ id="metadata2900">
+ <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></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs2898">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ id="perspective2902" />
+ <inkscape:perspective
+ id="perspective3804"
+ 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="perspective4285"
+ 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" />
+ </defs>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1022"
+ inkscape:window-height="734"
+ id="namedview2896"
+ showgrid="false"
+ inkscape:zoom="23.864854"
+ inkscape:cx="6.9422309"
+ inkscape:cy="7.7182552"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="svg2894"
+ showborder="true"
+ inkscape:showpageshadow="false" />
+ <image
+ y="0"
+ x="0"
+ id="image4287"
+ height="16"
+ width="16"
+ xlink:href="file:///home/jrollins/cmrg/monkeysphere/msva/git/xul-ext/chrome/content/good.png" />
+ <path
+ id="path3692"
+ style="fill:none;stroke:#ff1900;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="M 3,13 13,3 m 2.034203,5.0000001 c 0,3.8848829 -3.14932,7.0342029 -7.0342029,7.0342029 -3.884883,0 -7.03420276,-3.14932 -7.03420276,-7.0342029 0,-3.8848828 3.14931976,-7.03420248 7.03420276,-7.03420248 3.8848829,0 7.0342029,3.14931968 7.0342029,7.03420248 z" />
+</svg>
diff --git a/chrome/content/default.png b/chrome/content/default.png
deleted file mode 100644
index 13b5efc..0000000
Binary files a/chrome/content/default.png and /dev/null differ
diff --git a/chrome/content/error.png b/chrome/content/error.png
index 1c6b8eb..d542802 100644
Binary files a/chrome/content/error.png and b/chrome/content/error.png differ
diff --git a/chrome/content/error.svg b/chrome/content/error.svg
new file mode 100644
index 0000000..9938ec3
--- /dev/null
+++ b/chrome/content/error.svg
@@ -0,0 +1,122 @@
+<?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"
+ id="svg2894"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ width="16"
+ height="16"
+ sodipodi:docname="error-new.svg"
+ inkscape:export-filename="/home/jrollins/cmrg/monkeysphere/msva/git/xul-ext/chrome/content/error.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <metadata
+ id="metadata2900">
+ <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></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs2898">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ id="perspective2902" />
+ <inkscape:perspective
+ id="perspective3804"
+ 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="perspective3857"
+ 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="perspective3966"
+ 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="perspective4058"
+ 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" />
+ </defs>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1022"
+ inkscape:window-height="734"
+ id="namedview2896"
+ showgrid="false"
+ inkscape:zoom="23.864854"
+ inkscape:cx="8.8683534"
+ inkscape:cy="7.7182552"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="svg2894"
+ showborder="true"
+ inkscape:showpageshadow="false" />
+ <rect
+ style="fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:#ff1900;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect4085"
+ width="16"
+ height="16"
+ x="0"
+ y="-0.0068023908" />
+ <image
+ y="0"
+ x="0"
+ id="image4060"
+ height="16"
+ width="16"
+ xlink:href="file:///home/jrollins/cmrg/monkeysphere/msva/git/xul-ext/chrome/content/default-invert.png" />
+ <flowRoot
+ xml:space="preserve"
+ id="flowRoot3810"
+ style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#ffdd00;fill-opacity:1;stroke:none;font-family:URW Bookman L;-inkscape-font-specification:Bitstream Vera Sans Bold"
+ transform="matrix(1.8059641,0,0,1.8859029,-2.3779727,-4.1276791)"
+ inkscape:export-xdpi="300"
+ inkscape:export-ydpi="300"><flowRegion
+ id="flowRegion3812"><rect
+ id="rect3814"
+ width="8.0453033"
+ height="17.515297"
+ x="3.561723"
+ y="-0.97056276"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#ffdd00;fill-opacity:1;font-family:URW Bookman L;-inkscape-font-specification:Bitstream Vera Sans Bold" /></flowRegion><flowPara
+ id="flowPara3816">!</flowPara></flowRoot></svg>
diff --git a/chrome/content/good.png b/chrome/content/good.png
index 7aab3d1..13b5efc 100644
Binary files a/chrome/content/good.png and b/chrome/content/good.png differ
diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 63c4311..71e23a1 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -172,7 +172,6 @@ var monkeysphere = {
break;
case monkeysphere.states.NEU:
monkeysphere.log("main", "set status: NEU");
- //icon.setAttribute("src", "chrome://monkeysphere/content/default.png");
panel.hidden = true;
icon.setAttribute("src", "");
break;
@@ -182,8 +181,7 @@ var monkeysphere = {
break;
case monkeysphere.states.VAL:
monkeysphere.log("main", "set status: VAL");
- //icon.setAttribute("src", "chrome://monkeysphere/content/good.png");
- icon.setAttribute("src", "chrome://monkeysphere/content/default.png");
+ icon.setAttribute("src", "chrome://monkeysphere/content/good.png");
break;
case monkeysphere.states.INV:
monkeysphere.log("main", "set status: INV");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git
More information about the Pkg-privacy-commits
mailing list