From 08cf0ef2e636ab2c465fd1ba6fa0ef786c892976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Tue, 26 Oct 2021 06:31:56 +0200 Subject: Make development builds find the program icon --- src/logdiag.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/logdiag.c b/src/logdiag.c index 8c52d40..f5a891f 100644 --- a/src/logdiag.c +++ b/src/logdiag.c @@ -161,6 +161,11 @@ main (int argc, char *argv[]) } #endif +#ifdef OPTION_NOINSTALL + gtk_icon_theme_prepend_search_path (gtk_icon_theme_get_default (), + PROJECT_SHARE_DIR "icons"); +#endif + gtk_window_set_default_icon_name (PROJECT_NAME); if (files) -- cgit v1.2.3