Make development builds find the program icon

This commit is contained in:
Přemysl Eric Janouch 2021-10-26 06:31:56 +02:00
parent baf2dc8ccd
commit 08cf0ef2e6
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 5 additions and 0 deletions

View File

@ -161,6 +161,11 @@ main (int argc, char *argv[])
} }
#endif #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); gtk_window_set_default_icon_name (PROJECT_NAME);
if (files) if (files)