From 6f2c25a3ef1390348aac84e00b0d15da03fc74ed Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 21 May 2021 08:45:44 +0200 Subject: [PATCH] Install app icon in XDG hicolor icon theme Install the icon of the application in the hicolor XDG icon theme; this way it can be properly loaded by XDG menus in the currently set XDG icon theme, without looking in the legacy pixmaps location. --- phoenix.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phoenix.pro b/phoenix.pro index db96653a3..fb8c96802 100644 --- a/phoenix.pro +++ b/phoenix.pro @@ -126,8 +126,8 @@ unix { manpage.path = $$DATADIR/man/man1 manpage.files += Fritzing.1 - icon.path = $$DATADIR/pixmaps - icon.extra = install -D -m 0644 $$PWD/resources/images/fritzing_icon.png $(INSTALL_ROOT)$$DATADIR/pixmaps/fritzing.png + icon.path = $$DATADIR/icons/hicolor/256x256/apps + icon.extra = install -D -m 0644 $$PWD/resources/images/fritzing_icon.png $(INSTALL_ROOT)$$DATADIR/icons/hicolor/256x256/apps/fritzing.png parts.path = $$PKGDATADIR parts.files += parts