[gnome-color-manager] Add a ColorHug attach image and customised calibration message
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Add a ColorHug attach image and customised calibration message
- Date: Mon, 12 Dec 2011 18:18:22 +0000 (UTC)
commit d98f0dcb52a94a2ef5f7aafc3acf9fb87923e56d
Author: Richard Hughes <richard hughsie com>
Date: Mon Dec 12 18:17:12 2011 +0000
Add a ColorHug attach image and customised calibration message
data/figures/Makefile.am | 1 +
data/figures/colorhug-attach.svg | 431 ++++++++++++++++++++++++++++++++++++++
src/gcm-calibrate.c | 12 +
3 files changed, 444 insertions(+), 0 deletions(-)
---
diff --git a/data/figures/Makefile.am b/data/figures/Makefile.am
index a42cbab..0d4ecbc 100644
--- a/data/figures/Makefile.am
+++ b/data/figures/Makefile.am
@@ -11,6 +11,7 @@ icons_DATA = \
calibration-normal.svg \
calibration-short.svg \
clock.svg \
+ colorhug-attach.svg \
dtp94-attach.svg \
hcfr-attach.svg \
huey-attach.svg \
diff --git a/data/figures/colorhug-attach.svg b/data/figures/colorhug-attach.svg
new file mode 100644
index 0000000..4ae1319
--- /dev/null
+++ b/data/figures/colorhug-attach.svg
@@ -0,0 +1,431 @@
+<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ id="svg7384"
+ sodipodi:docname="colorhug-attach.svg"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ height="300"
+ width="300">
+ <metadata
+ id="metadata90">
+ <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>Gnome Symbolic Icon Theme</dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <sodipodi:namedview
+ inkscape:cy="105.8832"
+ pagecolor="#e5e6e4"
+ borderopacity="1"
+ showborder="false"
+ inkscape:bbox-paths="false"
+ guidetolerance="10"
+ inkscape:object-paths="true"
+ inkscape:window-width="1600"
+ showguides="true"
+ inkscape:object-nodes="true"
+ inkscape:snap-bbox="true"
+ inkscape:pageshadow="2"
+ inkscape:guide-bbox="true"
+ inkscape:snap-nodes="true"
+ bordercolor="#666666"
+ objecttolerance="10"
+ id="namedview88"
+ showgrid="false"
+ inkscape:window-maximized="1"
+ inkscape:window-x="1200"
+ inkscape:snap-global="true"
+ inkscape:window-y="1046"
+ gridtolerance="10"
+ inkscape:window-height="846"
+ inkscape:snap-others="false"
+ inkscape:snap-to-guides="true"
+ inkscape:current-layer="layer12"
+ inkscape:snap-bbox-midpoints="false"
+ inkscape:zoom="1.4142136"
+ inkscape:cx="103.62701"
+ inkscape:snap-grids="true"
+ inkscape:pageopacity="1">
+ <inkscape:grid
+ spacingx="1px"
+ spacingy="1px"
+ id="grid4866"
+ empspacing="2"
+ enabled="true"
+ type="xygrid"
+ snapvisiblegridlinesonly="true"
+ visible="true" />
+ </sodipodi:namedview>
+ <title
+ id="title9167">Gnome Symbolic Icon Theme</title>
+ <defs
+ id="defs7386" />
+ <g
+ inkscape:label="figures"
+ transform="translate(-241.00018,-243)"
+ inkscape:groupmode="layer"
+ id="layer12"
+ style="display:inline">
+ <rect
+ inkscape:export-filename="/home/lapo.fedora/colorimeters1.png"
+ x="241.00018"
+ y="243"
+ id="rect5985-4-9-7"
+ inkscape:export-ydpi="90"
+ height="300"
+ inkscape:export-xdpi="90"
+ width="300"
+ style="color:#000000;fill:none;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new" />
+ <rect
+ inkscape:export-filename="/home/lapo.fedora/colorimeters1.png"
+ x="261.00018"
+ y="263"
+ id="rect5985-4-4-6-8"
+ rx="4"
+ inkscape:export-ydpi="90"
+ height="260"
+ ry="4"
+ inkscape:export-xdpi="90"
+ width="260"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new" />
+ <path
+ inkscape:export-filename="/home/lapo.fedora/colorimeters1.png"
+ inkscape:connector-curvature="0"
+ d="m 388.0002,247.00002 0,68.7812 6,4 0,-68.7812 z"
+ id="rect3883-1-8-5-1-8-6-1"
+ sodipodi:nodetypes="ccccc"
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:#eeeeec;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new" />
+ <path
+ inkscape:export-filename="/home/lapo.fedora/colorimeters1.png"
+ inkscape:connector-curvature="0"
+ d="m 388.0002,247.00002 0,68.7812 6,4 0,-68.7812 z"
+ id="rect3883-1-8-5-1-3-5"
+ sodipodi:nodetypes="ccccc"
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new" />
+ <path
+ inkscape:export-filename="/home/lapo.fedora/colorimeters1.png"
+ inkscape:connector-curvature="0"
+ d="m 388.0002,243.00002 0,1.7812 6,4 0,-1.7812 z"
+ id="rect3883-1-8-5-0-5-0"
+ sodipodi:nodetypes="ccccc"
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new" />
+ <rect
+ style="color:#000000;fill:#babdb6;fill-opacity:1;stroke:#eeeeec;stroke-width:3.09956884;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect3004"
+ width="129.407"
+ height="173.57585"
+ x="325.72446"
+ y="296.40891"
+ ry="21.696981" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:none;stroke:#eeeeec;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3006"
+ sodipodi:cx="420.75"
+ sodipodi:cy="157.75"
+ sodipodi:rx="4.25"
+ sodipodi:ry="4.25"
+ d="m 425,157.75 a 4.25,4.25 0 1 1 -8.5,0 4.25,4.25 0 1 1 8.5,0 z"
+ transform="matrix(1.5497844,0,0,1.5497844,-218.24989,201.87206)" />
+ <g
+ id="layer2"
+ inkscape:label="*"
+ style="display:none"
+ transform="matrix(0.33333333,0,0,0.33333333,681.81536,224.37794)">
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(1.05128,0,0,1.05128,-13.2051,-11.7878)" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#ffff00;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996-8-8"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(1.05128,0,0,1.05128,105.152,193.212)" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#000080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996-8-8-8"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(1.05128,0,0,1.05128,-131.562,193.212)" />
+ <path
+ sodipodi:type="star"
+ style="color:#000000;fill:#000080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3066"
+ sodipodi:sides="3"
+ sodipodi:cx="360"
+ sodipodi:cy="332.36218"
+ sodipodi:r1="164.92422"
+ sodipodi:r2="89.689095"
+ sodipodi:arg1="1.3089969"
+ sodipodi:arg2="2.3561945"
+ inkscape:flatsided="true"
+ inkscape:rounded="0"
+ inkscape:randomized="0"
+ d="M 402.68554,491.66675 200.69543,289.67666 476.61903,215.74314 z"
+ inkscape:transform-center-x="-8.7225459"
+ inkscape:transform-center-y="-64.961182"
+ transform="matrix(0.585953,-0.585953,0.585953,0.585953,-45.692,485.223)" />
+ <g
+ transform="translate(0,-850)"
+ style="display:inline"
+ id="g3513-6">
+ <path
+ inkscape:connector-curvature="0"
+ id="path2996-8-8-7-9"
+ d="M 564.15625,331.125 C 560.06687,376.19719 541.38511,417.05359 512.875,448.9375 537.85933,461.56645 555,487.46721 555,517.375 555,559.70386 520.67261,594 478.34375,594 c -15.48707,0 -29.88425,-4.60116 -41.9375,-12.5 -13.84908,42.09331 -40.94001,78.18089 -76.375,103.28125 33.42699,23.6674 74.23871,37.59375 118.3125,37.59375 113.21838,0 205,-91.78162 205,-205 0,-82.58153 -48.82525,-153.77622 -119.1875,-186.25 z"
+ style="color:#000000;fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path2996-4-1"
+ d="m 360,107.375 c -113.21838,0 -205,91.78162 -205,205 0,6.33048 0.31341,12.56586 0.875,18.75 26.096,-12.03884 55.15598,-18.75 85.78125,-18.75 14.34093,0 28.33619,1.48011 41.84375,4.28125 -0.0784,-1.42068 -0.15625,-2.84097 -0.15625,-4.28125 0,-42.32886 34.32739,-76.65625 76.65625,-76.65625 42.32886,0 76.65625,34.32739 76.65625,76.65625 0,1.44028 -0.0778,2.86057 -0.15625,4.28125 13.50756,-2.80114 27.50282,-4.28125 41.84375,-4.28125 30.62527,0 59.68525,6.71116 85.78125,18.75 0.56159,-6.18414 0.875,-12.41952 0.875,-18.75 0,-113.21838 -91.78162,-205 -205,-205 z"
+ style="color:#000000;fill:#8ae234;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path2996-8-8-8-6-4"
+ d="m 155.84375,331.125 c -70.362254,32.47378 -119.1875,103.66847 -119.1875,186.25 0,113.21838 91.78162,205 205,205 44.07379,0 84.88551,-13.92635 118.3125,-37.59375 C 324.53376,659.68089 297.44283,623.59331 283.59375,581.5 271.5405,589.39884 257.14332,594 241.65625,594 199.32739,594 165,559.70386 165,517.375 c 0,-29.90779 17.14067,-55.80855 42.125,-68.4375 -28.51011,-31.88391 -47.19187,-72.74031 -51.28125,-117.8125 z"
+ style="color:#000000;fill:#cc0000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <path
+ transform="matrix(0.338462,0,0,0.338462,358.203,406.563)"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ sodipodi:ry="195"
+ sodipodi:rx="195"
+ sodipodi:cy="327.36218"
+ sodipodi:cx="355"
+ id="path2996-8-8-1-3"
+ style="color:#000000;fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ <path
+ transform="matrix(0.338462,0,0,0.338462,239.846,201.563)"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ sodipodi:ry="195"
+ sodipodi:rx="195"
+ sodipodi:cy="327.36218"
+ sodipodi:cx="355"
+ id="path2996-8-8-1-5-6"
+ style="color:#000000;fill:#8ae234;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ <path
+ transform="matrix(0.338462,0,0,0.338462,121.489,406.563)"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ sodipodi:ry="195"
+ sodipodi:rx="195"
+ sodipodi:cy="327.36218"
+ sodipodi:cx="355"
+ id="path2996-8-8-1-5-7-7"
+ style="color:#000000;fill:#cc0000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ </g>
+ </g>
+ <rect
+ style="color:#000000;fill:#eeeeec;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect4586"
+ width="102.67322"
+ height="102.67322"
+ x="338.89761"
+ y="315.78122"
+ ry="9.2987061" />
+ <g
+ id="layer2-0"
+ inkscape:label="*"
+ style="fill:#babdb6;fill-opacity:1;stroke:none;display:none"
+ transform="matrix(0.12267224,0,0,0.12267224,345.83828,300.15745)">
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996-7"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(1.05128,0,0,1.05128,-13.2051,-11.7878)" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996-8-8-2"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(1.05128,0,0,1.05128,105.152,193.212)" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996-8-8-8-8"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(1.05128,0,0,1.05128,-131.562,193.212)" />
+ <path
+ sodipodi:type="star"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3066-0"
+ sodipodi:sides="3"
+ sodipodi:cx="360"
+ sodipodi:cy="332.36218"
+ sodipodi:r1="164.92422"
+ sodipodi:r2="89.689095"
+ sodipodi:arg1="1.3089969"
+ sodipodi:arg2="2.3561945"
+ inkscape:flatsided="true"
+ inkscape:rounded="0"
+ inkscape:randomized="0"
+ d="M 402.68554,491.66675 200.69543,289.67666 476.61903,215.74314 z"
+ inkscape:transform-center-x="-8.7225459"
+ inkscape:transform-center-y="-64.961182"
+ transform="matrix(0.585953,-0.585953,0.585953,0.585953,-45.692,485.223)" />
+ <g
+ transform="translate(0,-850)"
+ style="fill:#babdb6;fill-opacity:1;stroke:none;display:inline"
+ id="g3513-6-2">
+ <path
+ inkscape:connector-curvature="0"
+ id="path2996-8-8-7-9-3"
+ d="M 564.15625,331.125 C 560.06687,376.19719 541.38511,417.05359 512.875,448.9375 537.85933,461.56645 555,487.46721 555,517.375 555,559.70386 520.67261,594 478.34375,594 c -15.48707,0 -29.88425,-4.60116 -41.9375,-12.5 -13.84908,42.09331 -40.94001,78.18089 -76.375,103.28125 33.42699,23.6674 74.23871,37.59375 118.3125,37.59375 113.21838,0 205,-91.78162 205,-205 0,-82.58153 -48.82525,-153.77622 -119.1875,-186.25 z"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path2996-4-1-5"
+ d="m 360,107.375 c -113.21838,0 -205,91.78162 -205,205 0,6.33048 0.31341,12.56586 0.875,18.75 26.096,-12.03884 55.15598,-18.75 85.78125,-18.75 14.34093,0 28.33619,1.48011 41.84375,4.28125 -0.0784,-1.42068 -0.15625,-2.84097 -0.15625,-4.28125 0,-42.32886 34.32739,-76.65625 76.65625,-76.65625 42.32886,0 76.65625,34.32739 76.65625,76.65625 0,1.44028 -0.0778,2.86057 -0.15625,4.28125 13.50756,-2.80114 27.50282,-4.28125 41.84375,-4.28125 30.62527,0 59.68525,6.71116 85.78125,18.75 0.56159,-6.18414 0.875,-12.41952 0.875,-18.75 0,-113.21838 -91.78162,-205 -205,-205 z"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path2996-8-8-8-6-4-4"
+ d="m 155.84375,331.125 c -70.362254,32.47378 -119.1875,103.66847 -119.1875,186.25 0,113.21838 91.78162,205 205,205 44.07379,0 84.88551,-13.92635 118.3125,-37.59375 C 324.53376,659.68089 297.44283,623.59331 283.59375,581.5 271.5405,589.39884 257.14332,594 241.65625,594 199.32739,594 165,559.70386 165,517.375 c 0,-29.90779 17.14067,-55.80855 42.125,-68.4375 -28.51011,-31.88391 -47.19187,-72.74031 -51.28125,-117.8125 z"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <path
+ transform="matrix(0.338462,0,0,0.338462,358.203,406.563)"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ sodipodi:ry="195"
+ sodipodi:rx="195"
+ sodipodi:cy="327.36218"
+ sodipodi:cx="355"
+ id="path2996-8-8-1-3-3"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ <path
+ transform="matrix(0.338462,0,0,0.338462,239.846,201.563)"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ sodipodi:ry="195"
+ sodipodi:rx="195"
+ sodipodi:cy="327.36218"
+ sodipodi:cx="355"
+ id="path2996-8-8-1-5-6-0"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ <path
+ transform="matrix(0.338462,0,0,0.338462,121.489,406.563)"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ sodipodi:ry="195"
+ sodipodi:rx="195"
+ sodipodi:cy="327.36218"
+ sodipodi:cx="355"
+ id="path2996-8-8-1-5-7-7-7"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ </g>
+ </g>
+ <g
+ style="fill:#babdb6;fill-opacity:1;stroke:none"
+ transform="matrix(0.08916174,0,0,0.08916174,357.90205,314.06014)"
+ id="g3513-8">
+ <path
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ d="M 564.15625,331.125 C 560.06687,376.19719 541.38511,417.05359 512.875,448.9375 537.85933,461.56645 555,487.46721 555,517.375 555,559.70386 520.67261,594 478.34375,594 c -15.48707,0 -29.88425,-4.60116 -41.9375,-12.5 -13.84908,42.09331 -40.94001,78.18089 -76.375,103.28125 33.42699,23.6674 74.23871,37.59375 118.3125,37.59375 113.21838,0 205,-91.78162 205,-205 0,-82.58153 -48.82525,-153.77622 -119.1875,-186.25 z"
+ id="path2996-8-8-7-8"
+ inkscape:connector-curvature="0" />
+ <path
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ d="m 360,107.375 c -113.21838,0 -205,91.78162 -205,205 0,6.33048 0.31341,12.56586 0.875,18.75 26.096,-12.03884 55.15598,-18.75 85.78125,-18.75 14.34093,0 28.33619,1.48011 41.84375,4.28125 -0.0784,-1.42068 -0.15625,-2.84097 -0.15625,-4.28125 0,-42.32886 34.32739,-76.65625 76.65625,-76.65625 42.32886,0 76.65625,34.32739 76.65625,76.65625 0,1.44028 -0.0778,2.86057 -0.15625,4.28125 13.50756,-2.80114 27.50282,-4.28125 41.84375,-4.28125 30.62527,0 59.68525,6.71116 85.78125,18.75 0.56159,-6.18414 0.875,-12.41952 0.875,-18.75 0,-113.21838 -91.78162,-205 -205,-205 z"
+ id="path2996-4-7"
+ inkscape:connector-curvature="0" />
+ <path
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ d="m 155.84375,331.125 c -70.362254,32.47378 -119.1875,103.66847 -119.1875,186.25 0,113.21838 91.78162,205 205,205 44.07379,0 84.88551,-13.92635 118.3125,-37.59375 C 324.53376,659.68089 297.44283,623.59331 283.59375,581.5 271.5405,589.39884 257.14332,594 241.65625,594 199.32739,594 165,559.70386 165,517.375 c 0,-29.90779 17.14067,-55.80855 42.125,-68.4375 -28.51011,-31.88391 -47.19187,-72.74031 -51.28125,-117.8125 z"
+ id="path2996-8-8-8-6-42"
+ inkscape:connector-curvature="0" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996-8-8-1-2"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(0.338462,0,0,0.338462,358.203,406.563)" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996-8-8-1-5-1"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(0.338462,0,0,0.338462,239.846,201.563)" />
+ <path
+ sodipodi:type="arc"
+ style="color:#000000;fill:#babdb6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path2996-8-8-1-5-7-2"
+ sodipodi:cx="355"
+ sodipodi:cy="327.36218"
+ sodipodi:rx="195"
+ sodipodi:ry="195"
+ d="m 550,327.36218 c 0,107.69553 -87.30447,195 -195,195 -107.69553,0 -195,-87.30447 -195,-195 0,-107.69552 87.30447,-195 195,-195 107.69553,0 195,87.30448 195,195 z"
+ transform="matrix(0.338462,0,0,0.338462,121.489,406.563)" />
+ </g>
+ <text
+ sodipodi:linespacing="125%"
+ id="text3468-1"
+ y="406.52637"
+ x="351.60727"
+ style="font-size:14.72066879px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#babdb6;fill-opacity:1;stroke:none;font-family:DejaVu Serif;-inkscape-font-specification:DejaVu Serif"
+ xml:space="preserve"><tspan
+ style="font-size:14.72066879px;font-weight:normal;fill:#babdb6;fill-opacity:1;stroke:none;-inkscape-font-specification:DejaVu Serif"
+ y="406.52637"
+ x="351.60727"
+ id="tspan3470-7"
+ sodipodi:role="line">Color<tspan
+ id="tspan3476-2"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#babdb6;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans Bold">HUG</tspan></tspan></text>
+ </g>
+</svg>
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index c7f453b..61ad712 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -370,6 +370,10 @@ gcm_calibrate_get_sensor_image_attach (GcmCalibrate *calibrate)
case CD_SENSOR_KIND_I1_DISPLAY3:
return "i1-display3-attach.svg";
#endif
+#if CD_CHECK_VERSION(0,1,15)
+ case CD_SENSOR_KIND_COLORHUG:
+ return "colorhug-attach.svg";
+#endif
#if CD_CHECK_VERSION(0,1,16)
case CD_SENSOR_KIND_SPYDER2:
return "spyder2-attach.svg";
@@ -494,6 +498,14 @@ gcm_calibrate_interaction_attach (GcmCalibrate *calibrate)
/* TRANSLATORS: dialog message, ask user to attach device */
g_string_append (message, _("Please attach the measuring instrument to the center of the screen on the gray square."));
}
+
+ /* this hardware doesn't suck :) */
+ if (cd_sensor_get_kind (calibrate->priv->sensor) == CD_SENSOR_KIND_COLORHUG) {
+ g_string_append (message, "\n\n");
+ /* TRANSLATORS: dialog message, ask user to attach device */
+ g_string_append (message, _("You will need to hold the device on the screen for the duration of the calibration."));
+ }
+
gcm_calibrate_set_message (calibrate, message->str);
gcm_calibrate_set_image (calibrate, filename);
gcm_calibrate_interaction_required (calibrate, _("Continue"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]