[gnome-disk-utility] Add drive emblems and use them for RAID and LVM2
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Add drive emblems and use them for RAID and LVM2
- Date: Fri, 22 Jan 2010 17:13:58 +0000 (UTC)
commit 6526914be1d76ab7b01bf89a845eee92554f7e00
Author: David Zeuthen <davidz redhat com>
Date: Fri Jan 22 12:12:46 2010 -0500
Add drive emblems and use them for RAID and LVM2
data/icons/16x16/Makefile.am | 11 ++
data/icons/16x16/gdu-emblem-lvm-lv.png | Bin 0 -> 587 bytes
data/icons/16x16/gdu-emblem-lvm-vg.png | Bin 0 -> 688 bytes
data/icons/16x16/gdu-emblem-mp.png | Bin 0 -> 623 bytes
data/icons/16x16/gdu-emblem-raid-linear.png | Bin 0 -> 450 bytes
data/icons/16x16/gdu-emblem-raid0.png | Bin 0 -> 600 bytes
data/icons/16x16/gdu-emblem-raid1.png | Bin 0 -> 482 bytes
data/icons/16x16/gdu-emblem-raid10.png | Bin 0 -> 619 bytes
data/icons/16x16/gdu-emblem-raid3.png | Bin 0 -> 580 bytes
data/icons/16x16/gdu-emblem-raid4.png | Bin 0 -> 567 bytes
data/icons/16x16/gdu-emblem-raid5.png | Bin 0 -> 597 bytes
data/icons/16x16/gdu-emblem-raid6.png | Bin 0 -> 612 bytes
data/icons/22x22/Makefile.am | 11 ++
data/icons/22x22/gdu-emblem-lvm-lv.png | Bin 0 -> 799 bytes
data/icons/22x22/gdu-emblem-lvm-vg.png | Bin 0 -> 957 bytes
data/icons/22x22/gdu-emblem-mp.png | Bin 0 -> 835 bytes
data/icons/22x22/gdu-emblem-raid-linear.png | Bin 0 -> 554 bytes
data/icons/22x22/gdu-emblem-raid0.png | Bin 0 -> 805 bytes
data/icons/22x22/gdu-emblem-raid1.png | Bin 0 -> 610 bytes
data/icons/22x22/gdu-emblem-raid10.png | Bin 0 -> 858 bytes
data/icons/22x22/gdu-emblem-raid3.png | Bin 0 -> 785 bytes
data/icons/22x22/gdu-emblem-raid4.png | Bin 0 -> 711 bytes
data/icons/22x22/gdu-emblem-raid5.png | Bin 0 -> 741 bytes
data/icons/22x22/gdu-emblem-raid6.png | Bin 0 -> 816 bytes
data/icons/48x48/Makefile.am | 11 ++
data/icons/48x48/gdu-emblem-lvm-lv.png | Bin 0 -> 1649 bytes
data/icons/48x48/gdu-emblem-lvm-vg.png | Bin 0 -> 2141 bytes
data/icons/48x48/gdu-emblem-mp.png | Bin 0 -> 1630 bytes
data/icons/48x48/gdu-emblem-raid-linear.png | Bin 0 -> 1045 bytes
data/icons/48x48/gdu-emblem-raid0.png | Bin 0 -> 1729 bytes
data/icons/48x48/gdu-emblem-raid1.png | Bin 0 -> 1177 bytes
data/icons/48x48/gdu-emblem-raid10.png | Bin 0 -> 1820 bytes
data/icons/48x48/gdu-emblem-raid3.png | Bin 0 -> 1692 bytes
data/icons/48x48/gdu-emblem-raid4.png | Bin 0 -> 1425 bytes
data/icons/48x48/gdu-emblem-raid5.png | Bin 0 -> 1510 bytes
data/icons/48x48/gdu-emblem-raid6.png | Bin 0 -> 1802 bytes
data/icons/scalable/Makefile.am | 11 ++
data/icons/scalable/gdu-emblem-lvm-lv.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-lvm-vg.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-mp.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-raid-linear.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-raid0.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-raid1.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-raid10.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-raid3.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-raid4.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-raid5.svg | 141 ++++++++++++++++++++++++
data/icons/scalable/gdu-emblem-raid6.svg | 141 ++++++++++++++++++++++++
src/gdu/gdu-linux-lvm2-volume-group.c | 2 +-
src/gdu/gdu-linux-lvm2-volume.c | 2 +-
src/gdu/gdu-linux-md-drive.c | 31 +++++-
src/gdu/gdu-util.c | 28 +++++
src/gdu/gdu-util.h | 5 +
53 files changed, 1660 insertions(+), 3 deletions(-)
---
diff --git a/data/icons/16x16/Makefile.am b/data/icons/16x16/Makefile.am
index 3fb78aa..d39405a 100644
--- a/data/icons/16x16/Makefile.am
+++ b/data/icons/16x16/Makefile.am
@@ -23,6 +23,17 @@ icon_DATA = \
gdu-unmountable.png \
nautilus-gdu.png \
gdu-hba.png \
+ gdu-emblem-mp.png \
+ gdu-emblem-lvm-vg.png \
+ gdu-emblem-lvm-lv.png \
+ gdu-emblem-raid-linear.png \
+ gdu-emblem-raid0.png \
+ gdu-emblem-raid1.png \
+ gdu-emblem-raid3.png \
+ gdu-emblem-raid4.png \
+ gdu-emblem-raid5.png \
+ gdu-emblem-raid6.png \
+ gdu-emblem-raid10.png \
$(NULL)
EXTRA_DIST = \
diff --git a/data/icons/16x16/gdu-emblem-lvm-lv.png b/data/icons/16x16/gdu-emblem-lvm-lv.png
new file mode 100644
index 0000000..8bb6bf1
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-lvm-lv.png differ
diff --git a/data/icons/16x16/gdu-emblem-lvm-vg.png b/data/icons/16x16/gdu-emblem-lvm-vg.png
new file mode 100644
index 0000000..e77c6c6
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-lvm-vg.png differ
diff --git a/data/icons/16x16/gdu-emblem-mp.png b/data/icons/16x16/gdu-emblem-mp.png
new file mode 100644
index 0000000..c9c79b0
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-mp.png differ
diff --git a/data/icons/16x16/gdu-emblem-raid-linear.png b/data/icons/16x16/gdu-emblem-raid-linear.png
new file mode 100644
index 0000000..80db732
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-raid-linear.png differ
diff --git a/data/icons/16x16/gdu-emblem-raid0.png b/data/icons/16x16/gdu-emblem-raid0.png
new file mode 100644
index 0000000..1f5d8d2
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-raid0.png differ
diff --git a/data/icons/16x16/gdu-emblem-raid1.png b/data/icons/16x16/gdu-emblem-raid1.png
new file mode 100644
index 0000000..d8c14d2
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-raid1.png differ
diff --git a/data/icons/16x16/gdu-emblem-raid10.png b/data/icons/16x16/gdu-emblem-raid10.png
new file mode 100644
index 0000000..ec8ff0f
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-raid10.png differ
diff --git a/data/icons/16x16/gdu-emblem-raid3.png b/data/icons/16x16/gdu-emblem-raid3.png
new file mode 100644
index 0000000..9fd9737
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-raid3.png differ
diff --git a/data/icons/16x16/gdu-emblem-raid4.png b/data/icons/16x16/gdu-emblem-raid4.png
new file mode 100644
index 0000000..49e6be8
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-raid4.png differ
diff --git a/data/icons/16x16/gdu-emblem-raid5.png b/data/icons/16x16/gdu-emblem-raid5.png
new file mode 100644
index 0000000..cab52e6
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-raid5.png differ
diff --git a/data/icons/16x16/gdu-emblem-raid6.png b/data/icons/16x16/gdu-emblem-raid6.png
new file mode 100644
index 0000000..6d5f4fa
Binary files /dev/null and b/data/icons/16x16/gdu-emblem-raid6.png differ
diff --git a/data/icons/22x22/Makefile.am b/data/icons/22x22/Makefile.am
index 570de9b..31dd0bb 100644
--- a/data/icons/22x22/Makefile.am
+++ b/data/icons/22x22/Makefile.am
@@ -23,6 +23,17 @@ icon_DATA = \
gdu-unmountable.png \
nautilus-gdu.png \
gdu-hba.png \
+ gdu-emblem-mp.png \
+ gdu-emblem-lvm-vg.png \
+ gdu-emblem-lvm-lv.png \
+ gdu-emblem-raid-linear.png \
+ gdu-emblem-raid0.png \
+ gdu-emblem-raid1.png \
+ gdu-emblem-raid3.png \
+ gdu-emblem-raid4.png \
+ gdu-emblem-raid5.png \
+ gdu-emblem-raid6.png \
+ gdu-emblem-raid10.png \
$(NULL)
EXTRA_DIST = \
diff --git a/data/icons/22x22/gdu-emblem-lvm-lv.png b/data/icons/22x22/gdu-emblem-lvm-lv.png
new file mode 100644
index 0000000..085d3c6
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-lvm-lv.png differ
diff --git a/data/icons/22x22/gdu-emblem-lvm-vg.png b/data/icons/22x22/gdu-emblem-lvm-vg.png
new file mode 100644
index 0000000..18f6dad
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-lvm-vg.png differ
diff --git a/data/icons/22x22/gdu-emblem-mp.png b/data/icons/22x22/gdu-emblem-mp.png
new file mode 100644
index 0000000..05b163f
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-mp.png differ
diff --git a/data/icons/22x22/gdu-emblem-raid-linear.png b/data/icons/22x22/gdu-emblem-raid-linear.png
new file mode 100644
index 0000000..a4543b2
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-raid-linear.png differ
diff --git a/data/icons/22x22/gdu-emblem-raid0.png b/data/icons/22x22/gdu-emblem-raid0.png
new file mode 100644
index 0000000..3ab07cd
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-raid0.png differ
diff --git a/data/icons/22x22/gdu-emblem-raid1.png b/data/icons/22x22/gdu-emblem-raid1.png
new file mode 100644
index 0000000..cd2912f
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-raid1.png differ
diff --git a/data/icons/22x22/gdu-emblem-raid10.png b/data/icons/22x22/gdu-emblem-raid10.png
new file mode 100644
index 0000000..9b87246
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-raid10.png differ
diff --git a/data/icons/22x22/gdu-emblem-raid3.png b/data/icons/22x22/gdu-emblem-raid3.png
new file mode 100644
index 0000000..7d1778c
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-raid3.png differ
diff --git a/data/icons/22x22/gdu-emblem-raid4.png b/data/icons/22x22/gdu-emblem-raid4.png
new file mode 100644
index 0000000..429aab4
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-raid4.png differ
diff --git a/data/icons/22x22/gdu-emblem-raid5.png b/data/icons/22x22/gdu-emblem-raid5.png
new file mode 100644
index 0000000..d600821
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-raid5.png differ
diff --git a/data/icons/22x22/gdu-emblem-raid6.png b/data/icons/22x22/gdu-emblem-raid6.png
new file mode 100644
index 0000000..51e4a4e
Binary files /dev/null and b/data/icons/22x22/gdu-emblem-raid6.png differ
diff --git a/data/icons/48x48/Makefile.am b/data/icons/48x48/Makefile.am
index 8ada32d..15310b2 100644
--- a/data/icons/48x48/Makefile.am
+++ b/data/icons/48x48/Makefile.am
@@ -23,6 +23,17 @@ icon_DATA = \
gdu-unmountable.png \
nautilus-gdu.png \
gdu-hba.png \
+ gdu-emblem-mp.png \
+ gdu-emblem-lvm-vg.png \
+ gdu-emblem-lvm-lv.png \
+ gdu-emblem-raid-linear.png \
+ gdu-emblem-raid0.png \
+ gdu-emblem-raid1.png \
+ gdu-emblem-raid3.png \
+ gdu-emblem-raid4.png \
+ gdu-emblem-raid5.png \
+ gdu-emblem-raid6.png \
+ gdu-emblem-raid10.png \
$(NULL)
EXTRA_DIST = \
diff --git a/data/icons/48x48/gdu-emblem-lvm-lv.png b/data/icons/48x48/gdu-emblem-lvm-lv.png
new file mode 100644
index 0000000..771c7f0
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-lvm-lv.png differ
diff --git a/data/icons/48x48/gdu-emblem-lvm-vg.png b/data/icons/48x48/gdu-emblem-lvm-vg.png
new file mode 100644
index 0000000..b515787
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-lvm-vg.png differ
diff --git a/data/icons/48x48/gdu-emblem-mp.png b/data/icons/48x48/gdu-emblem-mp.png
new file mode 100644
index 0000000..ee800d3
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-mp.png differ
diff --git a/data/icons/48x48/gdu-emblem-raid-linear.png b/data/icons/48x48/gdu-emblem-raid-linear.png
new file mode 100644
index 0000000..edae611
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-raid-linear.png differ
diff --git a/data/icons/48x48/gdu-emblem-raid0.png b/data/icons/48x48/gdu-emblem-raid0.png
new file mode 100644
index 0000000..bdabcbe
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-raid0.png differ
diff --git a/data/icons/48x48/gdu-emblem-raid1.png b/data/icons/48x48/gdu-emblem-raid1.png
new file mode 100644
index 0000000..a1bf3b5
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-raid1.png differ
diff --git a/data/icons/48x48/gdu-emblem-raid10.png b/data/icons/48x48/gdu-emblem-raid10.png
new file mode 100644
index 0000000..6f92bd9
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-raid10.png differ
diff --git a/data/icons/48x48/gdu-emblem-raid3.png b/data/icons/48x48/gdu-emblem-raid3.png
new file mode 100644
index 0000000..2799052
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-raid3.png differ
diff --git a/data/icons/48x48/gdu-emblem-raid4.png b/data/icons/48x48/gdu-emblem-raid4.png
new file mode 100644
index 0000000..34e953c
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-raid4.png differ
diff --git a/data/icons/48x48/gdu-emblem-raid5.png b/data/icons/48x48/gdu-emblem-raid5.png
new file mode 100644
index 0000000..061ff1f
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-raid5.png differ
diff --git a/data/icons/48x48/gdu-emblem-raid6.png b/data/icons/48x48/gdu-emblem-raid6.png
new file mode 100644
index 0000000..ff59cd9
Binary files /dev/null and b/data/icons/48x48/gdu-emblem-raid6.png differ
diff --git a/data/icons/scalable/Makefile.am b/data/icons/scalable/Makefile.am
index 3a7df8e..eba7638 100644
--- a/data/icons/scalable/Makefile.am
+++ b/data/icons/scalable/Makefile.am
@@ -23,6 +23,17 @@ icon_DATA = \
gdu-unmountable.svg \
nautilus-gdu.svg \
gdu-hba.svg \
+ gdu-emblem-mp.svg \
+ gdu-emblem-lvm-vg.svg \
+ gdu-emblem-lvm-lv.svg \
+ gdu-emblem-raid-linear.svg \
+ gdu-emblem-raid0.svg \
+ gdu-emblem-raid1.svg \
+ gdu-emblem-raid3.svg \
+ gdu-emblem-raid4.svg \
+ gdu-emblem-raid5.svg \
+ gdu-emblem-raid6.svg \
+ gdu-emblem-raid10.svg \
$(NULL)
EXTRA_DIST = \
diff --git a/data/icons/scalable/gdu-emblem-lvm-lv.svg b/data/icons/scalable/gdu-emblem-lvm-lv.svg
new file mode 100644
index 0000000..4de0094
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-lvm-lv.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-lvm.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-lvm-48.png"
+ inkscape:export-xdpi="16.879999"
+ inkscape:export-ydpi="16.879999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="17.045628"
+ inkscape:cy="86.628129"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#73d216;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 c 0,69.17859 -56.08033,125.25892 -125.25892,125.25892 -69.178587,0 -125.2589153,-56.08033 -125.2589153,-125.25892 0,-69.178593 56.0803283,-125.2589212 125.2589153,-125.2589212 69.17859,0 125.25892,56.0803282 125.25892,125.2589212 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="45.638828"
+ y="78.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="45.638828"
+ y="78.923454"
+ style="font-size:170px;fill:#ffffff;fill-opacity:1">LV</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-lvm-vg.svg b/data/icons/scalable/gdu-emblem-lvm-vg.svg
new file mode 100644
index 0000000..8f3e2d9
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-lvm-vg.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-lvm-vg.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-lvm-vg-16.png"
+ inkscape:export-xdpi="5.6199999"
+ inkscape:export-ydpi="5.6199999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="17.045628"
+ inkscape:cy="84.607824"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#73d216;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 c 0,69.17859 -56.08033,125.25892 -125.25892,125.25892 -69.178587,0 -125.2589153,-56.08033 -125.2589153,-125.25892 0,-69.178593 56.0803283,-125.2589212 125.2589153,-125.2589212 69.17859,0 125.25892,56.0803282 125.25892,125.2589212 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="39.638828"
+ y="74.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="39.638828"
+ y="74.923454"
+ style="font-size:150px;fill:#ffffff;fill-opacity:1">VG</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-mp.svg b/data/icons/scalable/gdu-emblem-mp.svg
new file mode 100644
index 0000000..a1d5921
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-mp.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-mp.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-mp.png"
+ inkscape:export-xdpi="17.24"
+ inkscape:export-ydpi="17.24">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#ad7fa8;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="42.44593"
+ y="67.994522"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="42.44593"
+ y="67.994522"
+ style="font-size:144px;fill:#ffffff;fill-opacity:1">MP</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-raid-linear.svg b/data/icons/scalable/gdu-emblem-raid-linear.svg
new file mode 100644
index 0000000..3be93fb
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-raid-linear.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-raid6.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-raid6-48.png"
+ inkscape:export-xdpi="16.879999"
+ inkscape:export-ydpi="16.879999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.638824"
+ y="88.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="83.638824"
+ y="88.923454"
+ style="font-size:200px;fill:#ffffff;fill-opacity:1">L</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-raid0.svg b/data/icons/scalable/gdu-emblem-raid0.svg
new file mode 100644
index 0000000..5a2fef7
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-raid0.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-raid10.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-raid10-48.png"
+ inkscape:export-xdpi="16.879999"
+ inkscape:export-ydpi="16.879999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="81.638824"
+ y="90.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="81.638824"
+ y="90.923454"
+ style="font-size:200px;fill:#ffffff;fill-opacity:1">0</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-raid1.svg b/data/icons/scalable/gdu-emblem-raid1.svg
new file mode 100644
index 0000000..1f040c1
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-raid1.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-raid0.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-raid0-16.png"
+ inkscape:export-xdpi="5.6199999"
+ inkscape:export-ydpi="5.6199999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="81.638824"
+ y="90.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="81.638824"
+ y="90.923454"
+ style="font-size:200px;fill:#ffffff;fill-opacity:1">1</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-raid10.svg b/data/icons/scalable/gdu-emblem-raid10.svg
new file mode 100644
index 0000000..9f6db66
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-raid10.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-mp.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-mp-16.png"
+ inkscape:export-xdpi="5.6199999"
+ inkscape:export-ydpi="5.6199999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="33.638828"
+ y="78.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="33.638828"
+ y="78.923454"
+ style="font-size:170px;fill:#ffffff;fill-opacity:1">10</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-raid3.svg b/data/icons/scalable/gdu-emblem-raid3.svg
new file mode 100644
index 0000000..aecd229
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-raid3.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-raid1.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-raid1-48.png"
+ inkscape:export-xdpi="16.879999"
+ inkscape:export-ydpi="16.879999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="81.638824"
+ y="90.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="81.638824"
+ y="90.923454"
+ style="font-size:200px;fill:#ffffff;fill-opacity:1">3</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-raid4.svg b/data/icons/scalable/gdu-emblem-raid4.svg
new file mode 100644
index 0000000..8ebcb33
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-raid4.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-raid4.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-raid3-16.png"
+ inkscape:export-xdpi="5.6199999"
+ inkscape:export-ydpi="5.6199999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="77.638824"
+ y="88.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="77.638824"
+ y="88.923454"
+ style="font-size:200px;fill:#ffffff;fill-opacity:1">4</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-raid5.svg b/data/icons/scalable/gdu-emblem-raid5.svg
new file mode 100644
index 0000000..84fcd4e
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-raid5.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-raid4.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-raid4-48.png"
+ inkscape:export-xdpi="16.879999"
+ inkscape:export-ydpi="16.879999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.638824"
+ y="90.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="83.638824"
+ y="90.923454"
+ style="font-size:200px;fill:#ffffff;fill-opacity:1">5</tspan></text>
+ </g>
+</svg>
diff --git a/data/icons/scalable/gdu-emblem-raid6.svg b/data/icons/scalable/gdu-emblem-raid6.svg
new file mode 100644
index 0000000..0467a53
--- /dev/null
+++ b/data/icons/scalable/gdu-emblem-raid6.svg
@@ -0,0 +1,141 @@
+<?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"
+ width="256"
+ height="256"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="gdu-emblem-raid5.svg"
+ inkscape:export-filename="/home/davidz/Desktop/disk-emblems/gdu-emblem-raid5-16.png"
+ inkscape:export-xdpi="5.6199999"
+ inkscape:export-ydpi="5.6199999">
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective3615"
+ 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="perspective3643"
+ 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="perspective3697"
+ 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="perspective3697-2"
+ 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="perspective3753"
+ 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="perspective3781"
+ 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
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.98994949"
+ inkscape:cx="168.56851"
+ inkscape:cy="95.214426"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="716"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-16.181963,112.24405)">
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3847"
+ sodipodi:cx="126.26907"
+ sodipodi:cy="126.70048"
+ sodipodi:rx="125.25892"
+ sodipodi:ry="125.25892"
+ d="m 251.52799,126.70048 a 125.25892,125.25892 0 1 1 -250.5178353,0 125.25892,125.25892 0 1 1 250.5178353,0 z"
+ transform="translate(18.202268,-110.22374)" />
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.842659"
+ y="83.263916"
+ id="text3849"
+ transform="translate(16.181963,-112.24405)"><tspan
+ sodipodi:role="line"
+ id="tspan3851"
+ x="83.842659"
+ y="83.263916" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+ x="83.638824"
+ y="90.923454"
+ id="text3853"><tspan
+ sodipodi:role="line"
+ id="tspan3855"
+ x="83.638824"
+ y="90.923454"
+ style="font-size:200px;fill:#ffffff;fill-opacity:1">6</tspan></text>
+ </g>
+</svg>
diff --git a/src/gdu/gdu-linux-lvm2-volume-group.c b/src/gdu/gdu-linux-lvm2-volume-group.c
index 3cca70c..39ff5af 100644
--- a/src/gdu/gdu-linux-lvm2-volume-group.c
+++ b/src/gdu/gdu-linux-lvm2-volume-group.c
@@ -410,7 +410,7 @@ gdu_linux_lvm2_volume_group_get_vpd_name (GduPresentable *presentable)
static GIcon *
gdu_linux_lvm2_volume_group_get_icon (GduPresentable *presentable)
{
- return g_themed_icon_new_with_default_fallbacks ("gdu-raid-array");
+ return gdu_util_get_emblemed_icon ("gdu-raid-array", "gdu-emblem-lvm-vg");
}
static guint64
diff --git a/src/gdu/gdu-linux-lvm2-volume.c b/src/gdu/gdu-linux-lvm2-volume.c
index 8d60040..a10c6d5 100644
--- a/src/gdu/gdu-linux-lvm2-volume.c
+++ b/src/gdu/gdu-linux-lvm2-volume.c
@@ -379,7 +379,7 @@ gdu_linux_lvm2_volume_get_vpd_name (GduPresentable *presentable)
static GIcon *
gdu_linux_lvm2_volume_get_icon (GduPresentable *presentable)
{
- return g_themed_icon_new_with_default_fallbacks ("gdu-raid-array");
+ return gdu_util_get_emblemed_icon ("gdu-raid-array", "gdu-emblem-lvm-lv");
}
static guint64
diff --git a/src/gdu/gdu-linux-md-drive.c b/src/gdu/gdu-linux-md-drive.c
index 3605283..9cd350e 100644
--- a/src/gdu/gdu-linux-md-drive.c
+++ b/src/gdu/gdu-linux-md-drive.c
@@ -676,7 +676,36 @@ gdu_linux_md_drive_get_vpd_name (GduPresentable *presentable)
static GIcon *
gdu_linux_md_drive_get_icon (GduPresentable *presentable)
{
- return g_themed_icon_new_with_default_fallbacks ("gdu-raid-array");
+ GduLinuxMdDrive *drive = GDU_LINUX_MD_DRIVE (presentable);
+ const gchar *emblem_name;
+ const gchar *level;
+
+ level = NULL;
+ if (drive->priv->slaves != NULL) {
+ level = gdu_device_linux_md_component_get_level (GDU_DEVICE (drive->priv->slaves->data));
+ } else if (drive->priv->device != NULL) {
+ level = gdu_device_linux_md_get_level (drive->priv->device);
+ }
+
+ if (g_strcmp0 (level, "linear") == 0) {
+ emblem_name = "gdu-emblem-raid-linear";
+ } else if (g_strcmp0 (level, "raid0") == 0) {
+ emblem_name = "gdu-emblem-raid0";
+ } else if (g_strcmp0 (level, "raid1") == 0) {
+ emblem_name = "gdu-emblem-raid1";
+ } else if (g_strcmp0 (level, "raid4") == 0) {
+ emblem_name = "gdu-emblem-raid4";
+ } else if (g_strcmp0 (level, "raid5") == 0) {
+ emblem_name = "gdu-emblem-raid5";
+ } else if (g_strcmp0 (level, "raid6") == 0) {
+ emblem_name = "gdu-emblem-raid6";
+ } else if (g_strcmp0 (level, "raid10") == 0) {
+ emblem_name = "gdu-emblem-raid10";
+ } else {
+ g_warning ("Unknown level `%s'", level);
+ }
+
+ return gdu_util_get_emblemed_icon ("gdu-raid-array", emblem_name);
}
static guint64
diff --git a/src/gdu/gdu-util.c b/src/gdu/gdu-util.c
index e658cd3..cda5ebf 100644
--- a/src/gdu/gdu-util.c
+++ b/src/gdu/gdu-util.c
@@ -1130,3 +1130,31 @@ gdu_util_ata_smart_status_to_desc (const gchar *status,
}
/* ---------------------------------------------------------------------------------------------------- */
+
+GIcon *
+gdu_util_get_emblemed_icon (const gchar *name,
+ const gchar *emblem_name)
+{
+ GIcon *icon;
+ GIcon *icon_for_emblem;
+ GEmblem *emblem;
+ GIcon *emblemed_icon;
+
+ icon = g_themed_icon_new_with_default_fallbacks (name);
+ if (emblem_name == NULL) {
+ emblemed_icon = icon;
+ goto out;
+ }
+
+ icon_for_emblem = g_themed_icon_new (emblem_name);
+ emblem = g_emblem_new_with_origin (icon_for_emblem, G_EMBLEM_ORIGIN_DEVICE);
+ emblemed_icon = g_emblemed_icon_new (icon, emblem);
+ g_object_unref (icon);
+ g_object_unref (icon_for_emblem);
+ g_object_unref (emblem);
+
+ out:
+ return emblemed_icon;
+}
+
+/* ---------------------------------------------------------------------------------------------------- */
diff --git a/src/gdu/gdu-util.h b/src/gdu/gdu-util.h
index 049a23d..de2fa6a 100644
--- a/src/gdu/gdu-util.h
+++ b/src/gdu/gdu-util.h
@@ -81,6 +81,11 @@ gboolean gdu_util_have_secret (GduDevice *device);
gchar *gdu_util_get_secret (GduDevice *device);
+/* ---------------------------------------------------------------------------------------------------- */
+
+GIcon *gdu_util_get_emblemed_icon (const gchar *name,
+ const gchar *emblem_name);
+
G_END_DECLS
#endif /* __GDU_UTIL_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]