From 68dce384503bc1312c33b0fb86a944e1bf68624a Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 16 Jan 2011 16:46:48 +0100 Subject: Add an application icon. --- CMakeLists.txt | 1 + share/icons/hicolor/scalable/apps/logdiag.svg | 116 ++++++++++++++++++++++++++ src/logdiag.c | 1 + 3 files changed, 118 insertions(+) create mode 100644 share/icons/hicolor/scalable/apps/logdiag.svg 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 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 (); -- cgit v1.2.3-70-g09d2