Add an application icon.

This commit is contained in:
Přemysl Eric Janouch 2011-01-16 16:46:48 +01:00
parent 81f116ed12
commit 68dce38450
3 changed files with 118 additions and 0 deletions

View File

@ -184,6 +184,7 @@ if (NOT WIN32)
install (FILES share/logdiag.desktop DESTINATION share/applications)
install (DIRECTORY "${project_DOC_DIR}/html/"
DESTINATION usr/gtk-doc/${CMAKE_PROJECT_NAME})
install (DIRECTORY share/icons DESTINATION share)
endif (NOT WIN32)
# CPack

View File

@ -0,0 +1,116 @@
<?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"
version="1.1"
width="128"
height="128"
id="svg2">
<defs
id="defs4" />
<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
transform="translate(0,-926.86216)"
id="layer1-4"
style="fill:none;stroke:#ffffff;stroke-width:18;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none">
<g
transform="translate(-10,-60)"
id="g3016-5">
<path
d="m 25,108 20,0"
transform="translate(0,924.36218)"
id="path3008-0" />
<path
d="m 25,88 20,0"
transform="translate(0,924.36218)"
id="path3010-3" />
<path
d="m 45,118 0,-40 25,0 c 0,0 20,0 20,20 0,20 -20,20 -20,20 z"
transform="translate(0,924.36218)"
id="path3012-6" />
<path
d="m 90,98 20,0"
transform="translate(0,924.36218)"
id="path3014-1" />
</g>
<g
transform="translate(10,-5.00002)"
id="g3016-8-0">
<path
d="m 25,1022.3622 20,0"
id="path3010-0-6" />
<path
d="M 45,118 45,78 75,98 z"
transform="translate(0,924.36218)"
id="path3012-9-3" />
<path
d="m 87.5,1022.3622 17.5,0"
id="path3014-6-2" />
<path
d="m 100,93 a 10,10 0 1 1 -20,0 10,10 0 1 1 20,0 z"
transform="matrix(0.5,0,0,0.5,37,975.86218)"
id="path3820-0"
style="stroke-width:36" />
</g>
</g>
<g
transform="translate(0,-926.86216)"
id="layer1"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:square;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none">
<g
transform="translate(-10,-60)"
id="g3016">
<path
d="m 25,108 20,0"
transform="translate(0,924.36218)"
id="path3008" />
<path
d="m 25,88 20,0"
transform="translate(0,924.36218)"
id="path3010" />
<path
d="m 45,118 0,-40 25,0 c 0,0 20,0 20,20 0,20 -20,20 -20,20 z"
transform="translate(0,924.36218)"
id="path3012" />
<path
d="m 90,98 20,0"
transform="translate(0,924.36218)"
id="path3014" />
</g>
<g
transform="translate(10,-5.00002)"
id="g3016-8">
<path
d="m 25,1022.3622 20,0"
id="path3010-0" />
<path
d="M 45,118 45,78 75,98 z"
transform="translate(0,924.36218)"
id="path3012-9" />
<path
d="m 87.5,1022.3622 17.5,0"
id="path3014-6" />
<path
d="m 100,93 a 10,10 0 1 1 -20,0 10,10 0 1 1 20,0 z"
transform="matrix(0.5,0,0,0.5,37,975.86218)"
id="path3820"
style="stroke-width:10" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -33,6 +33,7 @@ main (int argc, char *argv[])
*/
gtk_init (&argc, &argv);
gtk_window_set_default_icon_name (PROJECT_NAME);
wnd = ld_window_main_new ();
gtk_main ();