diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-26 06:31:56 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-26 06:32:29 +0200 |
commit | 08cf0ef2e636ab2c465fd1ba6fa0ef786c892976 (patch) | |
tree | d8b80c1545fea2481cb73e8a800b05d579d35c48 | |
parent | baf2dc8ccd660dfaa70a385a65b5e2bfc3d03ed6 (diff) | |
download | logdiag-08cf0ef2e636ab2c465fd1ba6fa0ef786c892976.tar.gz logdiag-08cf0ef2e636ab2c465fd1ba6fa0ef786c892976.tar.xz logdiag-08cf0ef2e636ab2c465fd1ba6fa0ef786c892976.zip |
Make development builds find the program icon
-rw-r--r-- | src/logdiag.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) |