aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-01-16 16:46:48 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-01-16 18:33:31 +0100
commit68dce384503bc1312c33b0fb86a944e1bf68624a (patch)
tree548d3e49d863cc114f7841b4d84cd5bc3b584f62
parent81f116ed121e7261bc65fbac645db4198b63414e (diff)
downloadlogdiag-68dce384503bc1312c33b0fb86a944e1bf68624a.tar.gz
logdiag-68dce384503bc1312c33b0fb86a944e1bf68624a.tar.xz
logdiag-68dce384503bc1312c33b0fb86a944e1bf68624a.zip
Add an application icon.
-rw-r--r--CMakeLists.txt1
-rw-r--r--share/icons/hicolor/scalable/apps/logdiag.svg116
-rw-r--r--src/logdiag.c1
3 files changed, 118 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 762a9ba..ec3b9bd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
diff --git a/share/icons/hicolor/scalable/apps/logdiag.svg b/share/icons/hicolor/scalable/apps/logdiag.svg
new file mode 100644
index 0000000..2a81e27
--- /dev/null
+++ b/share/icons/hicolor/scalable/apps/logdiag.svg
@@ -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>
diff --git a/src/logdiag.c b/src/logdiag.c
index 18ea843..20783b1 100644
--- a/src/logdiag.c
+++ b/src/logdiag.c
@@ -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 ();