Add new app icon and massively reorg our icon folder

New icon from Jakub Steiner is based on virt-manager.org theme.

Actually organize all our existing icons into a proper icon hierarchy.
This commit is contained in:
Cole Robinson 2011-07-12 11:50:11 -04:00
parent b9180d15ac
commit 4465d6f0be
69 changed files with 3793 additions and 1026 deletions

13
.gitignore vendored
View File

@ -1,15 +1,14 @@
!/po/*.po
!/po/*.pot
!/po/POTFILES*
/po/
*~
*.pyc
.tstamp*
*.gmo
/po/POTFILES
/po/.*
/po/stamp-it
Makefile
Makefile.in
Makefile.in*
/m4/
/build/
/autom4te.cache/

View File

@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I m4/
SUBDIRS = src pixmaps man po tests
SUBDIRS = src icons man po tests
EXTRA_DIST = @PACKAGE@.spec HACKING COPYING-DOCS xmldocs.make omf.make \
intltool-extract.in intltool-merge.in intltool-update.in

View File

@ -104,16 +104,6 @@ AM_CONDITIONAL([INSTALL_TUI], [test "x$with_tui" = "xyes"])
AC_OUTPUT(Makefile
pixmaps/Makefile
pixmaps/hicolor/Makefile
pixmaps/hicolor/16x16/Makefile
pixmaps/hicolor/16x16/actions/Makefile
pixmaps/hicolor/22x22/Makefile
pixmaps/hicolor/22x22/actions/Makefile
pixmaps/hicolor/24x24/Makefile
pixmaps/hicolor/24x24/actions/Makefile
pixmaps/hicolor/32x32/Makefile
pixmaps/hicolor/32x32/actions/Makefile
po/Makefile.in
src/Makefile
src/virtManager/Makefile
@ -121,7 +111,17 @@ AC_OUTPUT(Makefile
src/virtManagerTui/importblacklist/Makefile
man/Makefile
tests/Makefile
virt-manager.spec)
virt-manager.spec
icons/Makefile
icons/hicolor/Makefile
icons/hicolor/16x16/Makefile
icons/hicolor/22x22/Makefile
icons/hicolor/24x24/Makefile
icons/hicolor/32x32/Makefile
icons/hicolor/48x48/Makefile
icons/hicolor/256x256/Makefile
)
AC_MSG_NOTICE([])

View File

@ -0,0 +1,8 @@
size = $(notdir $(PWD))
appiconsdir = $(datadir)/icons/hicolor/$(size)/apps
actionsiconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions
dist_appicons_DATA = \
$(wildcard $(srcdir)/apps/*.png)
dist_actionsicons_DATA = \
$(wildcard $(srcdir)/actions/*.png)

View File

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 570 B

View File

Before

Width:  |  Height:  |  Size: 702 B

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

View File

@ -0,0 +1,11 @@
size = $(notdir $(PWD))
appiconsdir = $(datadir)/icons/hicolor/$(size)/apps
actionsiconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions
devicesiconsdir = $(pkgdatadir)/icons/hicolor/$(size)/devices
dist_appicons_DATA = \
$(wildcard $(srcdir)/apps/*.png)
dist_actionsicons_DATA = \
$(wildcard $(srcdir)/actions/*.png)
dist_devicesicons_DATA = \
$(wildcard $(srcdir)/devices/*.png)

View File

Before

Width:  |  Height:  |  Size: 716 B

After

Width:  |  Height:  |  Size: 716 B

View File

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 915 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,5 +1,5 @@
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/16x16/actions
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/22x22/apps
pixmap_DATA = $(wildcard $(srcdir)/*.png)
EXTRA_DIST = $(pixmap_DATA)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 783 B

After

Width:  |  Height:  |  Size: 783 B

View File

Before

Width:  |  Height:  |  Size: 945 B

After

Width:  |  Height:  |  Size: 945 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,8 @@
size = $(notdir $(PWD))
appiconsdir = $(datadir)/icons/hicolor/$(size)/apps
actionsiconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions
dist_appicons_DATA = \
$(wildcard $(srcdir)/apps/*.png)
dist_actionsicons_DATA = \
$(wildcard $(srcdir)/actions/*.png)

View File

Before

Width:  |  Height:  |  Size: 742 B

After

Width:  |  Height:  |  Size: 742 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,5 +1,5 @@
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/22x22/actions
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/24x24/apps
pixmap_DATA = $(wildcard $(srcdir)/*.png)
EXTRA_DIST = $(pixmap_DATA)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,5 @@
size = $(notdir $(PWD))
appiconsdir = $(datadir)/icons/hicolor/$(size)/apps
dist_appicons_DATA = \
$(wildcard $(srcdir)/apps/*.png)

View File

@ -1,4 +1,5 @@
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/24x24/actions
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/256x256/apps
pixmap_DATA = $(wildcard $(srcdir)/*.png)
EXTRA_DIST = $(pixmap_DATA)

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,11 @@
size = $(notdir $(PWD))
appiconsdir = $(datadir)/icons/hicolor/$(size)/apps
actionsiconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions
statusiconsdir = $(pkgdatadir)/icons/hicolor/$(size)/status
dist_appicons_DATA = \
$(wildcard $(srcdir)/apps/*.png)
dist_actionsicons_DATA = \
$(wildcard $(srcdir)/actions/*.png)
dist_statusicons_DATA = \
$(wildcard $(srcdir)/status/*.png)

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1,4 +1,5 @@
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/32x32/actions
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/32x32/apps
pixmap_DATA = $(wildcard $(srcdir)/*.png)
EXTRA_DIST = $(pixmap_DATA)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,5 @@
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/32x32/status
pixmap_DATA = $(wildcard $(srcdir)/*.png)
EXTRA_DIST = $(pixmap_DATA)

View File

Before

Width:  |  Height:  |  Size: 921 B

After

Width:  |  Height:  |  Size: 921 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 828 B

After

Width:  |  Height:  |  Size: 828 B

View File

@ -0,0 +1,8 @@
size = $(notdir $(PWD))
appiconsdir = $(datadir)/icons/hicolor/$(size)/apps
actionsiconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions
dist_appicons_DATA = \
$(wildcard $(srcdir)/apps/*.png)
dist_actionsicons_DATA = \
$(wildcard $(srcdir)/actions/*.png)

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,5 @@
pixmapdir = $(pkgdatadir)/pixmaps/hicolor/48x48/apps
pixmap_DATA = $(wildcard $(srcdir)/*.png)
EXTRA_DIST = $(pixmap_DATA)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1 @@
SUBDIRS = 16x16 22x22 24x24 32x32 48x48 256x256

View File

@ -1 +0,0 @@
SUBDIRS = actions

View File

@ -1 +0,0 @@
SUBDIRS = actions

View File

@ -1 +0,0 @@
SUBDIRS = actions

View File

@ -1 +0,0 @@
SUBDIRS = actions

View File

@ -1 +0,0 @@
SUBDIRS = 16x16 22x22 24x24 32x32

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 B

View File

@ -1,912 +0,0 @@
<?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="svg2423"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docname="vmm-48.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<metadata
id="metadata38">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:window-height="815"
inkscape:window-width="859"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
guidetolerance="10.0"
gridtolerance="10.0"
objecttolerance="10.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
showgrid="false"
showguides="false"
inkscape:guide-bbox="true"
inkscape:zoom="5.6126601"
inkscape:cx="38.279429"
inkscape:cy="29.686836"
inkscape:window-x="70"
inkscape:window-y="39"
inkscape:current-layer="svg2423">
<sodipodi:guide
orientation="0,1"
position="5.1445783,29.024096"
id="guide3406" />
<sodipodi:guide
orientation="1,0"
position="23.990514,14.653297"
id="guide3408" />
</sodipodi:namedview>
<defs
id="defs2425">
<linearGradient
id="linearGradient3891">
<stop
id="stop3893"
offset="0"
style="stop-color:#000000;stop-opacity:1;" />
<stop
id="stop3895"
offset="1"
style="stop-color:#ffffff;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3867">
<stop
id="stop3869"
offset="0"
style="stop-color:#3a9496;stop-opacity:1;" />
<stop
id="stop3871"
offset="1"
style="stop-color:#3a9496;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3586">
<stop
offset="0"
style="stop-color:#ffffff;stop-opacity:0;"
id="stop3588" />
<stop
id="stop3592"
style="stop-color:#ffffff;stop-opacity:0.68686869"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient3580">
<stop
id="stop3582"
style="stop-color:#000000;stop-opacity:0;"
offset="0" />
<stop
id="stop3584"
style="stop-color:#ffffff;stop-opacity:1"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient3398">
<stop
offset="0"
style="stop-color:#3a9496;stop-opacity:1;"
id="stop3400" />
<stop
offset="1"
style="stop-color:#000000;stop-opacity:1;"
id="stop3402" />
</linearGradient>
<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="perspective40" />
<linearGradient
id="linearGradient6240">
<stop
id="stop6242"
style="stop-color:#ffffff;stop-opacity:1"
offset="0" />
<stop
id="stop6244"
style="stop-color:#ffffff;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
x1="20.156862"
y1="5.0996137"
x2="20.156862"
y2="26.039215"
id="linearGradient6246"
xlink:href="#linearGradient6240"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient11400">
<stop
id="stop11402"
style="stop-color:#000000;stop-opacity:1"
offset="0" />
<stop
id="stop11404"
style="stop-color:#000000;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
x1="23.154902"
y1="34.572548"
x2="23.529411"
y2="40.219608"
id="linearGradient11406"
xlink:href="#linearGradient11400"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient5233">
<stop
id="stop5235"
style="stop-color:#729fcf;stop-opacity:1"
offset="0" />
<stop
id="stop5237"
style="stop-color:#326194;stop-opacity:1"
offset="1" />
</linearGradient>
<radialGradient
cx="24.006104"
cy="32.997028"
r="19.00016"
fx="24.006104"
fy="32.997028"
id="radialGradient5239"
xlink:href="#linearGradient5233"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.232634,0,0,0.778392,-5.584638,2.154377)" />
<linearGradient
x1="17.247635"
y1="6.3760414"
x2="39.904388"
y2="38.876041"
id="linearGradient5147"
xlink:href="#linearGradient5137"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient5137">
<stop
id="stop5139"
style="stop-color:#eeeeec;stop-opacity:1"
offset="0" />
<stop
id="stop5141"
style="stop-color:#e6e6e3;stop-opacity:1"
offset="1" />
</linearGradient>
<linearGradient
x1="31.743324"
y1="37.842293"
x2="31.86105"
y2="43.82579"
id="linearGradient5223"
xlink:href="#linearGradient5137"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient5225">
<stop
id="stop5227"
style="stop-color:#000000;stop-opacity:1"
offset="0" />
<stop
id="stop5229"
style="stop-color:#000000;stop-opacity:0"
offset="1" />
</linearGradient>
<radialGradient
cx="23.9375"
cy="42.6875"
r="23.75956"
fx="23.9375"
fy="42.6875"
id="radialGradient5231"
xlink:href="#linearGradient5225"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.24763,0,32.1168)" />
<linearGradient
gradientUnits="userSpaceOnUse"
xlink:href="#linearGradient7577"
id="linearGradient7865"
y2="25.808161"
x2="-172.82857"
y1="9.2039175"
x1="-177.27766" />
<linearGradient
id="linearGradient7577">
<stop
offset="0"
style="stop-color:#000000;stop-opacity:0.3137255"
id="stop7579" />
<stop
offset="1"
style="stop-color:#ffffff;stop-opacity:1"
id="stop7581" />
</linearGradient>
<radialGradient
gradientTransform="matrix(2.7391664,0,0,2.2478596,-274.85735,-10.683483)"
gradientUnits="userSpaceOnUse"
xlink:href="#linearGradient7344"
id="radialGradient7867"
fy="18.020473"
fx="36.126339"
r="13.55237"
cy="18.020473"
cx="36.126339" />
<linearGradient
id="linearGradient7344">
<stop
offset="0"
style="stop-color:#9f9f93;stop-opacity:1;"
id="stop7346" />
<stop
offset="1"
style="stop-color:#7a7474;stop-opacity:1;"
id="stop7348" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
xlink:href="#linearGradient7305"
id="linearGradient7869"
y2="37.941853"
x2="48.025963"
y1="10.14653"
x1="-0.11694507" />
<linearGradient
id="linearGradient7305">
<stop
offset="0"
style="stop-color:#ffffff;stop-opacity:1"
id="stop7307" />
<stop
offset="0.20971029"
style="stop-color:#ffffff;stop-opacity:0"
id="stop7313" />
<stop
offset="0.34936365"
style="stop-color:#ffffff;stop-opacity:0.81065089"
id="stop7329" />
<stop
offset="0.42850056"
style="stop-color:#ffffff;stop-opacity:0"
id="stop7321" />
<stop
offset="0.52134049"
style="stop-color:#ffffff;stop-opacity:1"
id="stop7323" />
<stop
offset="0.55746967"
style="stop-color:#ffffff;stop-opacity:0"
id="stop7317" />
<stop
offset="0.71001518"
style="stop-color:#ffffff;stop-opacity:0.56804734"
id="stop7319" />
<stop
offset="0.74394959"
style="stop-color:#ffffff;stop-opacity:0"
id="stop7416" />
<stop
offset="1"
style="stop-color:#ffffff;stop-opacity:0"
id="stop7309" />
</linearGradient>
<inkscape:perspective
id="perspective2517"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 526.18109 : 1"
sodipodi:type="inkscape:persp3d" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3586"
id="radialGradient3578"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0000001,0,0,0.9044878,-7.7038161e-7,1.8123922)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3586"
id="radialGradient3708"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0000001,0,0,0.9044878,-7.7038161e-7,1.8123922)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient3807"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient3999"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4001"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4003"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4005"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4007"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4009"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4011"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4013"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4015"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4017"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4019"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4021"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="radialGradient4023"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9999999,2.1833239e-8,0,0.6954278,3.6600218e-6,5.7794144)"
cx="24.009809"
cy="18.975512"
fx="24.009809"
fy="18.975512"
r="24.250229" />
<mask
maskUnits="userSpaceOnUse"
id="mask3971">
<g
style="opacity:0.55;fill:url(#radialGradient4023);fill-opacity:1"
id="g3973">
<path
style="fill:url(#radialGradient3999);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 23.990514,18.975904 L 48.260038,16.015247 L 48.260038,21.935775 L 23.990514,18.975904 z"
id="path3975" />
<path
id="path3977"
d="M 24.029103,18.975904 L -0.24042074,16.015247 L -0.24042074,21.935775 L 24.029103,18.975904 z"
style="fill:url(#radialGradient4001);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3979"
d="M 23.993295,18.985499 L 43.530991,4.2867325 L 46.491255,9.4140601 L 23.993295,18.985499 z"
style="fill:url(#radialGradient4003);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
style="fill:url(#radialGradient4005);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 24.026715,18.966204 L 1.5283619,28.536962 L 4.4886259,33.66429 L 24.026715,18.966204 z"
id="path3981" />
<path
style="fill:url(#radialGradient4007);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 24.000501,18.992418 L 33.571259,-3.5059356 L 38.698587,-0.54567162 L 24.000501,18.992418 z"
id="path3983" />
<path
id="path3985"
d="M 24.019796,18.958998 L 9.32103,38.496694 L 14.448358,41.456958 L 24.019796,18.958998 z"
style="fill:url(#radialGradient4009);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3987"
d="M 24.010201,18.994807 L 21.049544,-5.2747181 L 26.970072,-5.2747183 L 24.010201,18.994807 z"
style="fill:url(#radialGradient4011);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
style="fill:url(#radialGradient4013);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 24.010201,18.956217 L 21.049545,43.225741 L 26.970073,43.22574 L 24.010201,18.956217 z"
id="path3989" />
<path
style="fill:url(#radialGradient4015);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 24.019796,18.992026 L 9.3210295,-0.54567115 L 14.448357,-3.5059353 L 24.019796,18.992026 z"
id="path3991" />
<path
id="path3993"
d="M 24.000501,18.958606 L 33.57126,41.456958 L 38.698587,38.496693 L 24.000501,18.958606 z"
style="fill:url(#radialGradient4017);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3995"
d="M 24.026715,18.98482 L 1.5283615,9.4140608 L 4.4886252,4.2867331 L 24.026715,18.98482 z"
style="fill:url(#radialGradient4019);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
style="fill:url(#radialGradient4021);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 23.993295,18.965525 L 43.530992,33.664289 L 46.491255,28.536961 L 23.993295,18.965525 z"
id="path3997" />
</g>
</mask>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11400"
id="linearGradient4078"
gradientUnits="userSpaceOnUse"
x1="23.154902"
y1="34.572548"
x2="23.529411"
y2="40.219608"
gradientTransform="translate(-55.622048,-2.4829521)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient5233"
id="radialGradient4082"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.232634,0,0,0.778392,-61.206686,-0.3285751)"
cx="24.006104"
cy="32.997028"
fx="24.006104"
fy="32.997028"
r="19.00016" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5137"
id="linearGradient4085"
gradientUnits="userSpaceOnUse"
x1="17.247635"
y1="6.3760414"
x2="39.904388"
y2="38.876041"
gradientTransform="translate(-55.622048,-2.4829521)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5137"
id="linearGradient4088"
gradientUnits="userSpaceOnUse"
x1="31.743324"
y1="37.842293"
x2="31.86105"
y2="43.82579"
gradientTransform="translate(-55.622048,-2.4829521)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient5225"
id="radialGradient4091"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.968245,0,0,0.2139021,-54.174417,31.355775)"
cx="23.9375"
cy="42.6875"
fx="23.9375"
fy="42.6875"
r="23.75956" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient5225"
id="radialGradient3463"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.968245,0,0,0.2139021,0.6948115,33.812785)"
cx="23.9375"
cy="42.6875"
fx="23.9375"
fy="42.6875"
r="23.75956" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5137"
id="linearGradient3465"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-0.7528195,-2.5942181e-2)"
x1="31.743324"
y1="37.842293"
x2="31.86105"
y2="43.82579" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5137"
id="linearGradient3467"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-0.7528195,-2.5942181e-2)"
x1="17.247635"
y1="6.3760414"
x2="39.904388"
y2="38.876041" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3398"
id="radialGradient3469"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.2548848,-1.227208e-8,1.2574818e-8,1.2858414,-6.8716094,3.5390399)"
cx="24.006104"
cy="1.9869877"
fx="24.006104"
fy="1.9869877"
r="19.00016" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11400"
id="linearGradient3471"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-0.7528195,-2.5942181e-2)"
x1="23.154902"
y1="34.572548"
x2="23.529411"
y2="40.219608" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6240"
id="linearGradient3473"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-0.8158128,-8.9251264e-2)"
x1="25.771622"
y1="27.902763"
x2="19.148989"
y2="8" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7344"
id="linearGradient3483"
x1="34.59922"
y1="18.753357"
x2="34.59922"
y2="-0.2491951"
gradientUnits="userSpaceOnUse" />
<filter
inkscape:collect="always"
id="filter3711"
x="-0.1069307"
width="1.2138614"
y="-0.10693069"
height="1.2138614">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.149442"
id="feGaussianBlur3713" />
</filter>
<filter
inkscape:collect="always"
id="filter3837"
x="-0.23364296"
width="1.4672859"
y="-0.18730054"
height="1.3746011">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.6824588"
id="feGaussianBlur3839" />
</filter>
<mask
maskUnits="userSpaceOnUse"
id="mask3855">
<path
transform="matrix(0.9405941,0,0,0.9405941,1.5788209,1.2620797)"
d="M 47.571026,9.2483215 A 8.9975166,8.9975166 0 1 1 29.575993,9.2483215 A 8.9975166,8.9975166 0 1 1 47.571026,9.2483215 z"
sodipodi:ry="8.9975166"
sodipodi:rx="8.9975166"
sodipodi:cy="9.2483215"
sodipodi:cx="38.573509"
id="path3857"
style="opacity:1;fill:#eeeeec;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
sodipodi:type="arc" />
</mask>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3867"
id="linearGradient3865"
x1="-175.13916"
y1="38.55407"
x2="-175.13916"
y2="11.61323"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3398"
id="linearGradient3881"
x1="39.407021"
y1="8.3574791"
x2="39.407021"
y2="15.641467"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.8834034,0,0,0.8834034,5.1985518,1.2089544)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3891"
id="linearGradient3899"
x1="42.134232"
y1="0.96151865"
x2="40.530712"
y2="11.521174"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.9601664,-8.9084319e-2)" />
<filter
inkscape:collect="always"
id="filter4063"
x="-0.12802445"
width="1.2560489"
y="-0.1214591"
height="1.2429182">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.99462572"
id="feGaussianBlur4065" />
</filter>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7344"
id="linearGradient4076"
gradientUnits="userSpaceOnUse"
x1="34.59922"
y1="18.753357"
x2="34.59922"
y2="-0.2491951" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3398"
id="linearGradient4079"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.8834034,0,0,0.8834034,5.1985518,1.2089544)"
x1="39.407021"
y1="8.3574791"
x2="39.407021"
y2="15.641467" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3891"
id="linearGradient4081"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.9601664,-8.9084319e-2)"
x1="42.134232"
y1="0.96151865"
x2="40.530712"
y2="11.521174" />
<mask
maskUnits="userSpaceOnUse"
id="mask4096">
<rect
style="opacity:0.96464646;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.60000002;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4098"
width="19.034435"
height="20.825768"
x="19.213024"
y="8.0779896"
mask="none" />
</mask>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3398"
id="linearGradient4101"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.8834034,0,0,0.8834034,5.1985518,1.2089544)"
x1="39.407021"
y1="8.3574791"
x2="39.407021"
y2="15.641467" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3891"
id="linearGradient4103"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.9601664,-8.9084319e-2)"
x1="42.134232"
y1="0.96151865"
x2="40.530712"
y2="11.521174" />
</defs>
<g
id="g3451"
transform="matrix(0.9480341,0,0,0.9480341,-3.9120909e-2,2.495742)">
<rect
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect4784"
y="-0.02594218"
x="-0.75281954"
height="48"
width="48" />
<path
style="opacity:0.4;fill:url(#radialGradient3463);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path13582"
d="M 46.877251,42.943724 C 46.878837,45.750803 36.578649,48.026576 23.872176,48.026576 C 11.165703,48.026576 0.86551566,45.750803 0.86710136,42.943724 C 0.86551566,40.136646 11.165703,37.860872 23.872176,37.860872 C 36.578649,37.860872 46.878837,40.136646 46.877251,42.943724 L 46.877251,42.943724 z" />
<path
style="fill:url(#linearGradient3465);fill-opacity:1;fill-rule:evenodd;stroke:#888a85;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
id="path9222"
d="M 13.622659,35.507409 C 13.622659,35.507409 14.839535,40.442009 9.7663305,40.488333 C 7.3360548,40.510238 7.8338528,44.523484 7.8338528,44.523484 L 38.680319,44.492111 C 38.680319,44.492111 39.098757,40.596748 36.658102,40.551079 C 31.670635,40.45894 32.847573,35.444664 32.847573,35.444664 L 13.622659,35.507409 z" />
<path
style="fill:url(#linearGradient3467);fill-opacity:1;fill-rule:evenodd;stroke:#888a85;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
id="rect5040"
d="M 4.1358067,3.452494 L 42.26464,3.452494 C 44.289759,3.452494 45.765618,4.8801485 45.765618,7.0786348 L 45.776568,33.282474 C 45.776568,34.974541 45.248221,35.497703 43.741912,35.497703 L 2.779244,35.478768 C 1.5999727,35.449975 0.76064846,34.984107 0.74481496,33.459465 L 0.75999176,6.8908903 C 0.75999176,5.1170644 2.2993992,3.452494 4.1358067,3.452494 z" />
<rect
style="fill:url(#radialGradient3469);fill-opacity:1;fill-rule:evenodd;stroke:#204a87;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="rect9208"
y="7.4758806"
x="4.7531242"
height="22.996691"
width="37.00032" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
id="path5145"
d="M 4.1221805,4.3178078 C 2.8142377,4.3178078 1.6221805,5.6124574 1.6221805,6.8803078 L 1.6221805,33.474058 C 1.6284456,34.077336 1.7678769,34.264649 1.9034305,34.380308 C 2.0389841,34.495967 2.325349,34.587232 2.8096805,34.599058 L 43.74718,34.630308 C 44.398353,34.630308 44.604161,34.529288 44.68468,34.442808 C 44.765199,34.356328 44.90343,34.042107 44.90343,33.286558 L 44.90343,7.0678078 C 44.90343,5.2606577 43.892643,4.3178078 42.27843,4.3178078 L 4.1221805,4.3178078 z" />
<path
style="opacity:0.6;fill:url(#linearGradient3471);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path10672"
d="M 13.239336,36.013274 C 13.322997,38.185823 12.955983,38.924717 11.605712,39.688505 L 35.221114,40.985823 C 34.272095,39.817195 32.891703,38.052489 33.268173,35.997588 L 13.239336,36.013274 z" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#8d8d8f;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:0.43902438"
id="path6575"
d="M 9.2393067,41.470121 C 15.945999,41.47209 37.03609,41.470121 37.03609,41.470121" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
id="path8029"
d="M 8.8951085,42.477995 C 15.601801,42.479964 37.614969,42.477995 37.614969,42.477995" />
<path
style="opacity:0.15;fill:url(#linearGradient3473);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path2565"
d="M 5.2077162,7.9421212 L 5.2077162,25.949965 C 21.652161,24.595716 27.806409,15.837546 41.176343,14.922513 L 41.176344,7.9107487 L 5.2077162,7.9421212 z" />
</g>
<path
transform="matrix(0.9734746,0,0,0.9154066,6.5074729,-2.0660336)"
d="M 41.448819,14.740157 A 9.322835,9.8267717 0 1 1 22.803149,14.740157 A 9.322835,9.8267717 0 1 1 41.448819,14.740157 z"
sodipodi:ry="9.8267717"
sodipodi:rx="9.322835"
sodipodi:cy="14.740157"
sodipodi:cx="32.125984"
id="path4089"
style="opacity:0.75;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.60000001999999997;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter4063)"
sodipodi:type="arc"
mask="url(#mask4096)" />
<path
sodipodi:type="arc"
style="fill:#eeeeec;fill-opacity:1;stroke:url(#linearGradient4076);stroke-width:1;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
id="path3475"
sodipodi:cx="38.573509"
sodipodi:cy="9.2483215"
sodipodi:rx="8.9975166"
sodipodi:ry="8.9975166"
d="M 47.571026,9.2483215 A 8.9975166,8.9975166 0 1 1 29.575993,9.2483215 A 8.9975166,8.9975166 0 1 1 47.571026,9.2483215 z"
transform="translate(-0.360814,0.5497903)" />
<g
id="g3841"
mask="url(#mask3855)"
transform="translate(0.267253,-8.9084319e-2)">
<path
transform="matrix(1.1381228,0,0,1.1381228,-5.3073337,-1.4736698)"
id="path3485"
d="M 25.525458,6.7674963 L 51.324044,13.680207 L 34.196903,23.568567 L 41.109613,-2.2300202 L 25.525458,6.7674963 z"
style="fill:#cdcdcd;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter3711)" />
<path
sodipodi:nodetypes="ccccc"
id="path3715"
d="M 29.041488,2.2106601 L 46.323845,17.176826 L 42.225967,20.56203 L 33.495704,-0.99637536 L 29.041488,2.2106601 z"
style="fill:#878787;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter3837)" />
</g>
<path
style="fill:url(#linearGradient4101);fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient4103);stroke-width:0.60000002;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 35.733142,4.7358071 L 35.733142,14.65168 L 44.288557,9.7122072 L 35.733142,4.7358071 z"
id="path3873" />
</svg>

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 916 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

View File

@ -43,7 +43,7 @@ endif
@INTLTOOL_DESKTOP_RULE@
%.desktop.in: $(srcdir)/%.desktop.in.in ${top_builddir}/config.status
sed -e "s,::PACKAGE::,$(PACKAGE)," -e "s,::ICONDIR::,$(pkgdatadir)/pixmaps," < $< > $@
sed -e "s,::PACKAGE::,$(PACKAGE)," < $< > $@
%.service: $(srcdir)/%.service.in ${top_builddir}/config.status
sed -e "s,::PACKAGE::,$(PACKAGE)," -e "s,::PREFIX::,$(prefix)," < $< > $@

3641
src/virt-manager-source.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 493 KiB

View File

@ -1,7 +1,7 @@
[Desktop Entry]
_Name=Virtual Machine Manager
_Comment=Manage virtual machines
Icon=::ICONDIR::/::PACKAGE::-icon.svg
Icon=::PACKAGE::
Exec=::PACKAGE::
Type=Application
Terminal=false

View File

@ -50,7 +50,7 @@ virtinst_version = tuple([int(num) for num in virtinst_str.split('.')])
gconf_dir = "/apps/" + appname
asset_dir = "::ASSETDIR::"
glade_dir = asset_dir
icon_dir = asset_dir + "/pixmaps"
icon_dir = asset_dir + "/icons"
pylib_dir = "::PYLIBDIR::"
pyarchlib_dir = "::PYARCHLIBDIR::"
data_dir = "::DATADIR::"
@ -86,18 +86,14 @@ def setup_glade_i18n():
def setup_pypath():
global glade_dir, icon_dir, data_dir
# Hacks for find assets in local dir for dev purposes
if os.path.exists(os.getcwd() + "/src/vmm-about.glade"):
glade_dir = os.getcwd() + "/src"
if os.path.exists(os.getcwd() + "/pixmaps/state_running.png"):
icon_dir = os.getcwd() + "/pixmaps"
if os.path.exists(os.getcwd() + "../gnome/help/virt-manager/C/virt-manager.xml"):
data_dir = os.getcwd() + "../"
# Hacks for find assets in local dir for dev purposes
# First 2 hacks are to point python to local dir for source files in dev,
# the third is the main path if you have normal install
if os.path.exists(os.getcwd() + "/src/virt-manager.py"):
pass
if os.path.exists(os.getcwd() + "/src/virt-manager.py.in"):
glade_dir = os.path.join(os.getcwd(), "src")
icon_dir = os.path.join(os.getcwd(), "icons")
data_dir = os.path.join(os.getcwd(), "../")
elif os.path.exists(os.getcwd() + "/build/src/virt-manager.py"):
sys.path.insert(0, os.getcwd() + "/src")
else:
@ -369,8 +365,7 @@ def main():
from virtManager.engine import vmmEngine
gtk.window_set_default_icon_from_file(icon_dir + "/" +
appname + "-icon.svg")
gtk.window_set_default_icon_name(appname)
if options.show and options.uri == None:
raise optparse.OptionValueError("can't use --show-* options "

View File

@ -23,7 +23,6 @@ import logging
import gtk
import gconf
import libvirt
import virtinst
from virtManager.keyring import vmmKeyring
@ -111,34 +110,8 @@ class vmmConfig(object):
self.support_threading = virtinst.support.support_threading()
self._spice_error = None
self.status_icons = {
libvirt.VIR_DOMAIN_BLOCKED: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_running.png", 18, 18),
libvirt.VIR_DOMAIN_CRASHED: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_crashed.png", 18, 18),
libvirt.VIR_DOMAIN_PAUSED: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_paused.png", 18, 18),
libvirt.VIR_DOMAIN_RUNNING: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_running.png", 18, 18),
libvirt.VIR_DOMAIN_SHUTDOWN: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_shutoff.png", 18, 18),
libvirt.VIR_DOMAIN_SHUTOFF: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_shutoff.png", 18, 18),
libvirt.VIR_DOMAIN_NOSTATE: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_running.png", 18, 18),
}
self.status_icons_large = {
libvirt.VIR_DOMAIN_BLOCKED: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_running.png", 32, 32),
libvirt.VIR_DOMAIN_CRASHED: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_crashed.png", 32, 32),
libvirt.VIR_DOMAIN_PAUSED: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_paused.png", 32, 32),
libvirt.VIR_DOMAIN_RUNNING: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_running.png", 32, 32),
libvirt.VIR_DOMAIN_SHUTDOWN: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_shutoff.png", 32, 32),
libvirt.VIR_DOMAIN_SHUTOFF: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_shutoff.png", 32, 32),
libvirt.VIR_DOMAIN_NOSTATE: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_running.png", 32, 32),
}
# General app wide helpers (gconf agnostic)
def get_vm_status_icon(self, state):
return self.status_icons[state]
def get_vm_status_icon_large(self, state):
return self.status_icons_large[state]
def get_shutdown_icon_name(self):
theme = gtk.icon_theme_get_default()
if theme.has_icon("system-shutdown"):

View File

@ -1146,8 +1146,8 @@ class vmmDetails(vmmGObjectUI):
self.window.get_widget("overview-status-text").set_text(
self.vm.run_status())
self.window.get_widget("overview-status-icon").set_from_pixbuf(
self.vm.run_status_icon())
self.window.get_widget("overview-status-icon").set_from_icon_name(
self.vm.run_status_icon_name(), gtk.ICON_SIZE_MENU)
details = self.window.get_widget("details-pages")
self.page_refresh(details.get_current_page())

View File

@ -1336,10 +1336,18 @@ class vmmDomain(vmmLibvirtObject):
def is_paused(self):
return self.status() in [libvirt.VIR_DOMAIN_PAUSED]
def run_status_icon(self):
return self.config.get_vm_status_icon(self.status())
def run_status_icon_large(self):
return self.config.get_vm_status_icon_large(self.status())
def run_status_icon_name(self):
status_icons = {
libvirt.VIR_DOMAIN_BLOCKED: "state_running",
libvirt.VIR_DOMAIN_CRASHED: "state_shutoff",
libvirt.VIR_DOMAIN_PAUSED: "state_paused",
libvirt.VIR_DOMAIN_RUNNING: "state_running",
libvirt.VIR_DOMAIN_SHUTDOWN: "state_shutoff",
libvirt.VIR_DOMAIN_SHUTOFF: "state_shutoff",
libvirt.VIR_DOMAIN_NOSTATE: "state_running",
}
return status_icons[self.status()]
def force_update_status(self):
"""

View File

@ -48,10 +48,8 @@ class vmmHost(vmmGObjectUI):
self.title = conn.get_short_hostname() + " " + self.topwin.get_title()
self.topwin.set_title(self.title)
self.PIXBUF_STATE_RUNNING = gtk.gdk.pixbuf_new_from_file_at_size(
self.config.get_icon_dir() + "/state_running.png", 18, 18)
self.PIXBUF_STATE_SHUTOFF = gtk.gdk.pixbuf_new_from_file_at_size(
self.config.get_icon_dir() + "/state_shutoff.png", 18, 18)
self.ICON_RUNNING = "state_running"
self.ICON_SHUTOFF = "state_shutoff"
self.addnet = None
self.addpool = None
@ -527,13 +525,14 @@ class vmmHost(vmmGObjectUI):
dev = active and net.get_bridge_device() or ""
state = active and _("Active") or _("Inactive")
icon = (active and self.PIXBUF_STATE_RUNNING or
self.PIXBUF_STATE_SHUTOFF)
icon = (active and self.ICON_RUNNING or
self.ICON_SHUTOFF)
self.window.get_widget("net-device").set_text(dev)
self.window.get_widget("net-device").set_sensitive(active)
self.window.get_widget("net-state").set_text(state)
self.window.get_widget("net-state-icon").set_from_pixbuf(icon)
self.window.get_widget("net-state-icon").set_from_icon_name(
icon, gtk.ICON_SIZE_MENU)
self.window.get_widget("net-start").set_sensitive(not active)
self.window.get_widget("net-stop").set_sensitive(active)
@ -570,7 +569,8 @@ class vmmHost(vmmGObjectUI):
self.window.get_widget("net-device").set_text("")
self.window.get_widget("net-device").set_sensitive(False)
self.window.get_widget("net-state").set_text(_("Inactive"))
self.window.get_widget("net-state-icon").set_from_pixbuf(self.PIXBUF_STATE_SHUTOFF)
self.window.get_widget("net-state-icon").set_from_icon_name(
self.ICON_SHUTOFF, gtk.ICON_SIZE_MENU)
self.window.get_widget("net-start").set_sensitive(False)
self.window.get_widget("net-stop").set_sensitive(False)
self.window.get_widget("net-delete").set_sensitive(False)
@ -773,14 +773,22 @@ class vmmHost(vmmGObjectUI):
# Set pool details state
self.window.get_widget("pool-details").set_sensitive(True)
self.window.get_widget("pool-name").set_markup("<b>%s:</b>" % \
self.window.get_widget("pool-name").set_markup("<b>%s:</b>" %
pool.get_name())
self.window.get_widget("pool-sizes").set_markup("""<span size="large">%s Free</span> / <i>%s In Use</i>""" % (pool.get_pretty_available(), pool.get_pretty_allocation()))
self.window.get_widget("pool-type").set_text(Storage.StoragePool.get_pool_type_desc(pool.get_type()))
self.window.get_widget("pool-location").set_text(pool.get_target_path())
self.window.get_widget("pool-state-icon").set_from_pixbuf((active and self.PIXBUF_STATE_RUNNING) or self.PIXBUF_STATE_SHUTOFF)
self.window.get_widget("pool-state").set_text((active and _("Active")) or _("Inactive"))
self.window.get_widget("pool-autostart").set_label((auto and _("On Boot")) or _("Never"))
self.window.get_widget("pool-sizes").set_markup(
"""<span size="large">%s Free</span> / <i>%s In Use</i>""" %
(pool.get_pretty_available(), pool.get_pretty_allocation()))
self.window.get_widget("pool-type").set_text(
Storage.StoragePool.get_pool_type_desc(pool.get_type()))
self.window.get_widget("pool-location").set_text(
pool.get_target_path())
self.window.get_widget("pool-state-icon").set_from_icon_name(
((active and self.ICON_RUNNING) or self.ICON_SHUTOFF),
gtk.ICON_SIZE_MENU)
self.window.get_widget("pool-state").set_text(
(active and _("Active")) or _("Inactive"))
self.window.get_widget("pool-autostart").set_label(
(auto and _("On Boot")) or _("Never"))
self.window.get_widget("pool-autostart").set_active(auto)
self.window.get_widget("vol-list").set_sensitive(active)
@ -809,7 +817,8 @@ class vmmHost(vmmGObjectUI):
self.window.get_widget("pool-sizes").set_markup("""<span size="large"> </span>""")
self.window.get_widget("pool-type").set_text("")
self.window.get_widget("pool-location").set_text("")
self.window.get_widget("pool-state-icon").set_from_pixbuf(self.PIXBUF_STATE_SHUTOFF)
self.window.get_widget("pool-state-icon").set_from_icon_name(
self.ICON_SHUTOFF, gtk.ICON_SIZE_MENU)
self.window.get_widget("pool-state").set_text(_("Inactive"))
self.window.get_widget("vol-list").get_model().clear()
self.window.get_widget("pool-autostart").set_label(_("Never"))
@ -1016,8 +1025,9 @@ class vmmHost(vmmGObjectUI):
interface.get_name()))
self.window.get_widget("interface-mac").set_text(mac or _("Unknown"))
self.window.get_widget("interface-state-icon").set_from_pixbuf(
(active and self.PIXBUF_STATE_RUNNING) or self.PIXBUF_STATE_SHUTOFF)
self.window.get_widget("interface-state-icon").set_from_icon_name(
((active and self.ICON_RUNNING) or self.ICON_SHUTOFF),
gtk.ICON_SIZE_MENU)
self.window.get_widget("interface-state").set_text(
(active and _("Active")) or _("Inactive"))

View File

@ -361,9 +361,9 @@ class vmmManager(vmmGObjectUI):
vmlist = self.window.get_widget("vm-list")
self.window.get_widget("vm-notebook").set_show_tabs(False)
# Handle, name, markup, status, status icon, key/uuid, hint, is conn,
# is conn connected, is vm, is vm running, fg color
model = gtk.TreeStore(object, str, str, str, gtk.gdk.Pixbuf, str, str,
# Handle, name, markup, status, status icon name, key/uuid, hint,
# is conn, is conn connected, is vm, is vm running, fg color
model = gtk.TreeStore(object, str, str, str, str, str, str,
bool, bool, bool, bool, gtk.gdk.Color)
vmlist.set_model(model)
util.tooltip_wrapper(vmlist, ROW_HINT, "set_tooltip_column")
@ -380,8 +380,9 @@ class vmmManager(vmmGObjectUI):
vmlist.append_column(nameCol)
status_icon = gtk.CellRendererPixbuf()
status_icon.set_property("stock-size", gtk.ICON_SIZE_DND)
statusCol.pack_start(status_icon, False)
statusCol.add_attribute(status_icon, 'pixbuf', ROW_STATUS_ICON)
statusCol.add_attribute(status_icon, 'icon-name', ROW_STATUS_ICON)
statusCol.add_attribute(status_icon, 'visible', ROW_IS_VM)
name_txt = gtk.CellRendererText()
@ -733,7 +734,7 @@ class vmmManager(vmmGObjectUI):
row.insert(ROW_NAME, vm.get_name())
row.insert(ROW_MARKUP, "")
row.insert(ROW_STATUS, vm.run_status())
row.insert(ROW_STATUS_ICON, vm.run_status_icon_large())
row.insert(ROW_STATUS_ICON, vm.run_status_icon_name())
row.insert(ROW_KEY, vm.get_uuid())
row.insert(ROW_HINT, None)
row.insert(ROW_IS_CONN, False)
@ -872,7 +873,7 @@ class vmmManager(vmmGObjectUI):
row = self.rows[self.vm_row_key(vm)]
row[ROW_NAME] = vm.get_name()
row[ROW_STATUS] = vm.run_status()
row[ROW_STATUS_ICON] = vm.run_status_icon_large()
row[ROW_STATUS_ICON] = vm.run_status_icon_name()
row[ROW_IS_VM_RUNNING] = vm.is_active()
row[ROW_MARKUP] = self._build_vm_markup(vm, row)
model.row_changed(row.path, row.iter)

View File

@ -247,7 +247,8 @@ class vmmSystray(vmmGObject):
def _set_vm_status_icon(self, vm, menu_item):
image = gtk.Image()
image.set_from_pixbuf(vm.run_status_icon())
image.set_from_icon_name(vm.run_status_icon_name(),
gtk.ICON_SIZE_MENU)
image.set_sensitive(vm.is_active())
menu_item.set_image(image)

View File

@ -7,7 +7,7 @@
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
<property name="program_name">Virtual Machine Manager</property>
<property name="copyright" translatable="yes">Copyright (C) 2006-2010 Red Hat Inc.</property>
<property name="copyright" translatable="yes">Copyright (C) 2006-2011 Red Hat Inc.</property>
<property name="comments" translatable="yes">Powered by libvirt</property>
<property name="website">http://virt-manager.org/</property>
<property name="website_label">http://virt-manager.org/</property>
@ -26,16 +26,16 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</property>
<property name="authors">Daniel P. Berrange &lt;berrange@redhat.com&gt;
Hugh O. Brock &lt;hbrock@redhat.com&gt;
Máirín Duffy &lt;duffy@redhat.com&gt;
Jeremy Katz &lt;katzj@redhat.com&gt;
Cole Robinson &lt;crobinso@redhat.com&gt;
Hugh O. Brock &lt;hbrock@redhat.com&gt;
</property>
<property name="translator_credits" translatable="yes" comments="TRANSLATORS: Replace this string with your names, one name per line.">translator-credits</property>
<property name="artists">Máirín Duffy &lt;duffy@redhat.com&gt;
Mike Langlie &lt;mlanglie@redhat.com&gt;
Jeremy Perry &lt;jeperry@redhat.com&gt;
Jakub Steiner &lt;jsteiner@redhat.com&gt;
</property>
<property name="logo_icon_name">virt-manager</property>
<signal name="response" handler="on_vmm_about_response"/>
<signal name="delete_event" handler="on_vmm_about_delete_event"/>
<child internal-child="vbox">

View File

@ -56,8 +56,6 @@ Requires: libxml2-python >= 2.6.23
Requires: python-virtinst >= %{virtinst_version}
# Required for loading the glade UI
Requires: pygtk2-libglade
# Required for our graphics which are currently SVG format
Requires: librsvg2
# Earlier vte had broken python binding module
Requires: vte >= 0.12.2
# For online help
@ -183,14 +181,8 @@ fi
%{_datadir}/%{name}/*.glade
%{_datadir}/%{name}/*.py*
%dir %{_datadir}/%{name}/pixmaps/
%{_datadir}/%{name}/pixmaps/*.png
%{_datadir}/%{name}/pixmaps/*.svg
%dir %{_datadir}/%{name}/pixmaps/hicolor/
%dir %{_datadir}/%{name}/pixmaps/hicolor/*/
%dir %{_datadir}/%{name}/pixmaps/hicolor/*/*/
%{_datadir}/%{name}/pixmaps/hicolor/*/*/*.png
%{_datadir}/%{name}/icons
%{_datadir}/icons/hicolor/*/apps/*
%dir %{_datadir}/%{name}/virtManager/
%{_datadir}/%{name}/virtManager/*.py*