[gnome-power-manager] Add a gpm-battery-empty icon
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-power-manager] Add a gpm-battery-empty icon
- Date: Sun, 14 Jun 2009 15:11:57 -0400 (EDT)
commit 982c23785f14709bb0002e3ef375d9ac60f3219f
Author: Richard Hughes <richard hughsie com>
Date: Sun Jun 14 19:00:04 2009 +0100
Add a gpm-battery-empty icon
data/icons/16x16/status/Makefile.am | 1 +
data/icons/16x16/status/gpm-battery-empty.png | Bin 0 -> 501 bytes
data/icons/22x22/status/Makefile.am | 1 +
data/icons/22x22/status/gpm-battery-empty.png | Bin 0 -> 641 bytes
data/icons/24x24/status/Makefile.am | 1 +
data/icons/24x24/status/gpm-battery-empty.png | Bin 0 -> 669 bytes
data/icons/32x32/status/Makefile.am | 1 +
data/icons/32x32/status/gpm-battery-empty.png | Bin 0 -> 1311 bytes
data/icons/48x48/status/Makefile.am | 1 +
data/icons/48x48/status/gpm-battery-empty.png | Bin 0 -> 2129 bytes
data/icons/scalable/status/Makefile.am | 1 +
data/icons/scalable/status/gpm-battery-empty.svg | 448 ++++++++++++++++++++++
src/gpm-devicekit.c | 6 +-
13 files changed, 458 insertions(+), 2 deletions(-)
---
diff --git a/data/icons/16x16/status/Makefile.am b/data/icons/16x16/status/Makefile.am
index 472d656..79787e9 100644
--- a/data/icons/16x16/status/Makefile.am
+++ b/data/icons/16x16/status/Makefile.am
@@ -47,6 +47,7 @@ icons_DATA = \
gpm-battery-100-charging.png \
gpm-battery-missing.png \
gpm-battery-charged.png \
+ gpm-battery-empty.png \
gpm-ups-000.png \
gpm-ups-020.png \
gpm-ups-040.png \
diff --git a/data/icons/16x16/status/gpm-battery-empty.png b/data/icons/16x16/status/gpm-battery-empty.png
new file mode 100644
index 0000000..6445d87
Binary files /dev/null and b/data/icons/16x16/status/gpm-battery-empty.png differ
diff --git a/data/icons/22x22/status/Makefile.am b/data/icons/22x22/status/Makefile.am
index 6d01df4..57e2f97 100644
--- a/data/icons/22x22/status/Makefile.am
+++ b/data/icons/22x22/status/Makefile.am
@@ -47,6 +47,7 @@ icons_DATA = \
gpm-battery-100-charging.png \
gpm-battery-missing.png \
gpm-battery-charged.png \
+ gpm-battery-empty.png \
gpm-ups-000.png \
gpm-ups-020.png \
gpm-ups-040.png \
diff --git a/data/icons/22x22/status/gpm-battery-empty.png b/data/icons/22x22/status/gpm-battery-empty.png
new file mode 100644
index 0000000..261bdfc
Binary files /dev/null and b/data/icons/22x22/status/gpm-battery-empty.png differ
diff --git a/data/icons/24x24/status/Makefile.am b/data/icons/24x24/status/Makefile.am
index 7be5666..4a1b2db 100644
--- a/data/icons/24x24/status/Makefile.am
+++ b/data/icons/24x24/status/Makefile.am
@@ -47,6 +47,7 @@ icons_DATA = \
gpm-battery-100-charging.png \
gpm-battery-missing.png \
gpm-battery-charged.png \
+ gpm-battery-empty.png \
gpm-ups-000.png \
gpm-ups-020.png \
gpm-ups-040.png \
diff --git a/data/icons/24x24/status/gpm-battery-empty.png b/data/icons/24x24/status/gpm-battery-empty.png
new file mode 100644
index 0000000..063b765
Binary files /dev/null and b/data/icons/24x24/status/gpm-battery-empty.png differ
diff --git a/data/icons/32x32/status/Makefile.am b/data/icons/32x32/status/Makefile.am
index 863d0a0..17a68f1 100644
--- a/data/icons/32x32/status/Makefile.am
+++ b/data/icons/32x32/status/Makefile.am
@@ -47,6 +47,7 @@ icons_DATA = \
gpm-battery-100-charging.png \
gpm-battery-missing.png \
gpm-battery-charged.png \
+ gpm-battery-empty.png \
gpm-ups-000.png \
gpm-ups-020.png \
gpm-ups-040.png \
diff --git a/data/icons/32x32/status/gpm-battery-empty.png b/data/icons/32x32/status/gpm-battery-empty.png
new file mode 100644
index 0000000..8abb520
Binary files /dev/null and b/data/icons/32x32/status/gpm-battery-empty.png differ
diff --git a/data/icons/48x48/status/Makefile.am b/data/icons/48x48/status/Makefile.am
index 735e68a..e4d44fa 100644
--- a/data/icons/48x48/status/Makefile.am
+++ b/data/icons/48x48/status/Makefile.am
@@ -48,6 +48,7 @@ icons_DATA = \
gpm-battery-100-charging.png \
gpm-battery-missing.png \
gpm-battery-charged.png \
+ gpm-battery-empty.png \
gpm-ups-000.png \
gpm-ups-020.png \
gpm-ups-040.png \
diff --git a/data/icons/48x48/status/gpm-battery-empty.png b/data/icons/48x48/status/gpm-battery-empty.png
new file mode 100644
index 0000000..0f0b6f1
Binary files /dev/null and b/data/icons/48x48/status/gpm-battery-empty.png differ
diff --git a/data/icons/scalable/status/Makefile.am b/data/icons/scalable/status/Makefile.am
index 326f0ee..cfba01e 100644
--- a/data/icons/scalable/status/Makefile.am
+++ b/data/icons/scalable/status/Makefile.am
@@ -39,6 +39,7 @@ icons_DATA = \
gpm-battery-100-charging.svg \
gpm-battery-missing.svg \
gpm-battery-charged.svg \
+ gpm-battery-empty.svg \
gpm-ups-000.svg \
gpm-ups-020.svg \
gpm-ups-040.svg \
diff --git a/data/icons/scalable/status/gpm-battery-empty.svg b/data/icons/scalable/status/gpm-battery-empty.svg
new file mode 100644
index 0000000..7d8e5d5
--- /dev/null
+++ b/data/icons/scalable/status/gpm-battery-empty.svg
@@ -0,0 +1,448 @@
+<?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"
+ version="1.0"
+ width="48"
+ height="48"
+ id="svg1328"
+ sodipodi:version="0.32"
+ inkscape:version="0.46+devel"
+ sodipodi:docname="gpm-battery-empty.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ inkscape:export-filename="/home/hughsie/Code/gnome-power-manager/data/icons/48x48/status/gpm-battery-empty.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <metadata
+ id="metadata63">
+ <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>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="640"
+ inkscape:window-height="486"
+ id="namedview61"
+ showgrid="false"
+ inkscape:zoom="4.9166667"
+ inkscape:cx="24"
+ inkscape:cy="24"
+ inkscape:window-x="0"
+ inkscape:window-y="25"
+ inkscape:current-layer="svg1328" />
+ <defs
+ id="defs3">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 24 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="48 : 24 : 1"
+ inkscape:persp3d-origin="24 : 16 : 1"
+ id="perspective65" />
+ <linearGradient
+ id="linearGradient3356">
+ <stop
+ style="stop-color:#ff4141;stop-opacity:1"
+ offset="0"
+ id="stop3358" />
+ <stop
+ style="stop-color:#ff9d9d;stop-opacity:1"
+ offset="1"
+ id="stop3360" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3348">
+ <stop
+ style="stop-color:#ff4949;stop-opacity:1"
+ offset="0"
+ id="stop3350" />
+ <stop
+ style="stop-color:#ffb1b1;stop-opacity:1"
+ offset="1"
+ id="stop3352" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3338">
+ <stop
+ style="stop-color:#cc0000;stop-opacity:1"
+ offset="0"
+ id="stop3340" />
+ <stop
+ style="stop-color:#ff5858;stop-opacity:1"
+ offset="0.5"
+ id="stop3346" />
+ <stop
+ style="stop-color:#cc0000;stop-opacity:1"
+ offset="1"
+ id="stop3342" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3247">
+ <stop
+ style="stop-color:#f0f0f0;stop-opacity:1"
+ offset="0"
+ id="stop3249" />
+ <stop
+ style="stop-color:#f0f0f0;stop-opacity:0"
+ offset="1"
+ id="stop3251" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3233">
+ <stop
+ style="stop-color:#eeeeec;stop-opacity:1"
+ offset="0"
+ id="stop3235" />
+ <stop
+ style="stop-color:#a3a398;stop-opacity:1"
+ offset="1"
+ id="stop3237" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient6924">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0"
+ id="stop6926" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0"
+ offset="1"
+ id="stop6928" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient4176">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0"
+ id="stop4178" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0"
+ offset="1"
+ id="stop4180" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient4134">
+ <stop
+ style="stop-color:#d6d7d5;stop-opacity:1"
+ offset="0"
+ id="stop4136" />
+ <stop
+ style="stop-color:#d1d2d0;stop-opacity:1"
+ offset="0.25"
+ id="stop4148" />
+ <stop
+ style="stop-color:#a5a6a3;stop-opacity:1"
+ offset="0.5"
+ id="stop4142" />
+ <stop
+ style="stop-color:#dddedc;stop-opacity:1"
+ offset="1"
+ id="stop4138" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient4126">
+ <stop
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0"
+ id="stop4128" />
+ <stop
+ style="stop-color:#000000;stop-opacity:0"
+ offset="1"
+ id="stop4130" />
+ </linearGradient>
+ <radialGradient
+ cx="23.857143"
+ cy="40"
+ r="17.142857"
+ fx="23.857143"
+ fy="40"
+ id="radialGradient4132"
+ xlink:href="#linearGradient4126"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1,0,0,0.5,0,20)" />
+ <linearGradient
+ x1="9.3030529"
+ y1="26.71875"
+ x2="38.826412"
+ y2="26.71875"
+ id="linearGradient4140"
+ xlink:href="#linearGradient4134"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,0.991346,-0.183016,-3.765211)" />
+ <linearGradient
+ x1="17.160095"
+ y1="14.004482"
+ x2="37.969398"
+ y2="56.575912"
+ id="linearGradient4182"
+ xlink:href="#linearGradient4176"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,0.992756,-0.183016,-3.771417)" />
+ <linearGradient
+ x1="16.07143"
+ y1="19.5"
+ x2="16.035715"
+ y2="31.75"
+ id="linearGradient6930"
+ xlink:href="#linearGradient6924"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,1,-0.183017,-1.266534)" />
+ <radialGradient
+ cx="23.857143"
+ cy="40"
+ r="17.142857"
+ fx="23.857143"
+ fy="40"
+ id="radialGradient6946"
+ xlink:href="#linearGradient4126"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1,0,0,0.5,0,20)" />
+ <linearGradient
+ x1="24"
+ y1="17.245949"
+ x2="23.433737"
+ y2="8.0476589"
+ id="linearGradient3243"
+ xlink:href="#linearGradient3233"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ x1="34.244171"
+ y1="17.695425"
+ x2="34.244171"
+ y2="29.91827"
+ id="linearGradient3253"
+ xlink:href="#linearGradient3247"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,1,-0.183017,-2.123677)" />
+ <linearGradient
+ x1="24"
+ y1="17.245949"
+ x2="23.433737"
+ y2="8.0476589"
+ id="linearGradient3255"
+ xlink:href="#linearGradient3233"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ x1="24"
+ y1="17.245949"
+ x2="23.433737"
+ y2="8.0476589"
+ id="linearGradient4230"
+ xlink:href="#linearGradient3233"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ x1="11.003058"
+ y1="33.489445"
+ x2="30.452171"
+ y2="33.489445"
+ id="linearGradient4501"
+ xlink:href="#linearGradient3338"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,1,-0.200451,-2.021207)" />
+ <linearGradient
+ x1="24"
+ y1="18.132908"
+ x2="24"
+ y2="8.0243998"
+ id="linearGradient4518"
+ xlink:href="#linearGradient3348"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ x1="24"
+ y1="10.396756"
+ x2="24"
+ y2="20.118456"
+ id="linearGradient4520"
+ xlink:href="#linearGradient3356"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3233"
+ id="linearGradient69"
+ gradientUnits="userSpaceOnUse"
+ x1="24"
+ y1="17.245949"
+ x2="23.433737"
+ y2="8.0476589"
+ gradientTransform="matrix(0.274904,0,0,0.192106,17.47422,2.7297)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6924"
+ id="linearGradient72"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,1,-0.183017,-1.266534)"
+ x1="16.07143"
+ y1="19.5"
+ x2="16.035715"
+ y2="31.75" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4126"
+ id="radialGradient76"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.367338,0,0,0.181715,15.07873,0.492609)"
+ cx="23.857143"
+ cy="40"
+ fx="23.857143"
+ fy="40"
+ r="17.142857" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3233"
+ id="linearGradient79"
+ gradientUnits="userSpaceOnUse"
+ x1="24"
+ y1="17.245949"
+ x2="23.433737"
+ y2="8.0476589"
+ gradientTransform="matrix(1.048446,0,0,0.964345,-1.08762,-2.479089)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3247"
+ id="linearGradient82"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,1,-0.183017,-2.123677)"
+ x1="34.244171"
+ y1="17.695425"
+ x2="34.244171"
+ y2="29.91827" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3348"
+ id="linearGradient85"
+ gradientUnits="userSpaceOnUse"
+ x1="24"
+ y1="18.132908"
+ x2="24"
+ y2="8.0243998"
+ gradientTransform="matrix(0.983052,0,0,0.914029,0.461329,18.67248)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3356"
+ id="linearGradient87"
+ gradientUnits="userSpaceOnUse"
+ x1="24"
+ y1="10.396756"
+ x2="24"
+ y2="20.118456"
+ gradientTransform="matrix(0.983052,0,0,0.914029,0.461329,18.67248)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3338"
+ id="linearGradient90"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,1,-0.200451,-2.021207)"
+ x1="11.003058"
+ y1="33.489445"
+ x2="30.452171"
+ y2="33.489445" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4176"
+ id="linearGradient93"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,0.992756,-0.183016,-3.771417)"
+ x1="17.160095"
+ y1="14.004482"
+ x2="37.969398"
+ y2="56.575912" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3233"
+ id="linearGradient96"
+ gradientUnits="userSpaceOnUse"
+ x1="24"
+ y1="17.245949"
+ x2="23.433737"
+ y2="8.0476589"
+ gradientTransform="matrix(1.048446,0,0,0.971388,-0.883417,20.4951)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4134"
+ id="linearGradient99"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.010754,0,0,0.991346,-0.183016,-3.765211)"
+ x1="9.3030529"
+ y1="26.71875"
+ x2="38.826412"
+ y2="26.71875" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4126"
+ id="radialGradient102"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.05,0,0,0.591485,-1.012555,9.26219)"
+ cx="23.857143"
+ cy="40"
+ fx="23.857143"
+ fy="40"
+ r="17.142857" />
+ </defs>
+ <path
+ id="path3366"
+ style="color:#000000;fill:url(#radialGradient102);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 42.037445,32.92159 a 18,10.139743 0 1 1 -35.9999989,0 18,10.139743 0 1 1 35.9999989,0 z" />
+ <path
+ id="path3068"
+ style="color:#000000;fill:url(#linearGradient99);fill-opacity:1;fill-rule:nonzero;stroke:#767973;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 24.011908,5.0639635 c -7.943947,0 -14.4032434,2.7782481 -14.4032444,6.1959135 0,0.245244 0,22.669466 0,22.924876 0,3.417666 6.4592964,6.195913 14.4032444,6.195913 7.943948,0 14.660447,-2.778248 14.660445,-6.195913 0,-0.202295 0,-22.722581 0,-22.924876 0,-3.4176664 -6.716498,-6.1959135 -14.660445,-6.1959135 z" />
+ <path
+ id="path3241"
+ style="opacity:0.23626374;color:#000000;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient96);stroke-width:0.99999934;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 37.759306,34.163916 a 13.480019,5.342634 0 0 1 -26.960038,0 13.480019,5.342634 0 1 1 26.960038,0 z" />
+ <path
+ id="path4174"
+ style="opacity:0.5443038;color:#000000;fill:none;stroke:url(#linearGradient93);stroke-width:1.00000012;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 24.020624,5.8439904 c -7.406561,0 -13.428904,2.5939917 -13.428905,5.7849926 0,0.22898 0,21.727517 0,21.965988 0,3.191003 6.022343,5.784993 13.428905,5.784993 7.40656,0 13.668706,-2.593991 13.668704,-5.784993 0,-0.188877 0,-21.777108 0,-21.965988 0,-3.1910019 -6.262145,-5.7849926 -13.668704,-5.7849926 z" />
+ <path
+ id="path3245"
+ style="color:#000000;fill:url(#linearGradient82);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999946;marker:none;visibility:visible;display:block;overflow:visible"
+ d="M 36.063047,9.5613391 C 34.942005,8.5762291 33.994098,8.2763011 33,7.7935722 l 0.306304,18.6878228 2.756743,3.232487 0,-20.1525429 z" />
+ <path
+ id="path3364"
+ style="opacity:0.467033;color:#000000;fill:#f0f0f0;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient79);stroke-width:0.9999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 37.555103,11.090622 a 13.480019,5.3038975 0 0 1 -26.960038,0 13.480019,5.3038975 0 1 1 26.960038,0 z" />
+ <path
+ id="path6944"
+ style="opacity:0.30769234;color:#000000;fill:url(#radialGradient76);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 30.139588,7.761209 a 6.2972228,3.1151142 0 1 1 -12.594445,0 6.2972228,3.1151142 0 1 1 12.594445,0 z" />
+ <path
+ id="path3362"
+ style="color:#000000;fill:#9d9e9b;fill-opacity:1;fill-rule:nonzero;stroke:#7d7f7a;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 24.165629,3.5613261 c -2.024332,0 -4.681088,0.714153 -4.681088,1.592669 0,0.06304 0,2.564005 0,2.629659 0,0.878516 2.656756,1.592669 4.681088,1.592669 2.024333,0 4.457846,-0.714153 4.457845,-1.592669 0,-0.052 0,-2.577659 0,-2.629659 0,-0.878517 -2.433512,-1.592669 -4.457845,-1.592669 z" />
+ <path
+ id="path6922"
+ style="opacity:0.58241763;color:#000000;fill:url(#linearGradient72);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 13.750953,15.804894 0.360983,16.785715 4.62059,1.285714 -0.144393,-16.714286 c 0,0 1.959695,-0.08839 5.352942,-0.302674 -6.567248,-0.04998 -10.856946,-1.57817 -13.222385,-3.840183 1.432137,2.092176 3.032263,2.785714 3.032263,2.785714 z" />
+ <path
+ id="path6940"
+ style="color:#000000;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient69);stroke-width:1.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible"
+ d="m 27.606396,5.4329057 a 3.53448,1.0565831 0 0 1 -7.06896,0 3.53448,1.0565831 0 1 1 7.06896,0 z" />
+ <g
+ id="g4438"
+ transform="translate(-53.99282,-31.64138)" />
+ <g
+ id="layer2" />
+</svg>
diff --git a/src/gpm-devicekit.c b/src/gpm-devicekit.c
index f1f35fa..89a0c69 100644
--- a/src/gpm-devicekit.c
+++ b/src/gpm-devicekit.c
@@ -122,6 +122,9 @@ gpm_devicekit_get_object_icon (DkpDevice *device)
/* battery missing */
filename = g_strdup_printf ("gpm-%s-missing", prefix);
+ } else if (state == DKP_DEVICE_STATE_EMPTY) {
+ filename = g_strdup_printf ("gpm-%s-empty", prefix);
+
} else if (state == DKP_DEVICE_STATE_FULLY_CHARGED) {
filename = g_strdup_printf ("gpm-%s-charged", prefix);
@@ -133,8 +136,7 @@ gpm_devicekit_get_object_icon (DkpDevice *device)
index_str = gpm_devicekit_get_object_icon_index (device);
filename = g_strdup_printf ("gpm-%s-%s-charging", prefix, index_str);
- } else if (state == DKP_DEVICE_STATE_DISCHARGING ||
- state == DKP_DEVICE_STATE_EMPTY) {
+ } else if (state == DKP_DEVICE_STATE_DISCHARGING) {
index_str = gpm_devicekit_get_object_icon_index (device);
filename = g_strdup_printf ("gpm-%s-%s", prefix, index_str);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]