Skip to content

Commit

Permalink
Correctly install icons, so that the right size is picked automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
vkrause committed Jan 1, 2012
1 parent 498645c commit 49d44b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,12 @@ if(UNIX AND NOT APPLE)
set(XDG_APPS_INSTALL_DIR share/applications)
install(FILES GammaRay.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})

install(FILES resources/GammaRay-16x16.png DESTINATION share/icons/hicolor/16x16/apps)
install(FILES resources/GammaRay-32x32.png DESTINATION share/icons/hicolor/32x32/apps)
install(FILES resources/GammaRay-48x48.png DESTINATION share/icons/hicolor/48x48/apps)
install(FILES resources/GammaRay-128x128.png DESTINATION share/icons/hicolor/128x128/apps)
install(FILES resources/GammaRay-256x256.png DESTINATION share/icons/hicolor/256x256/apps)
install(FILES resources/GammaRay-512x512.png DESTINATION share/icons/hicolor/512x512/apps)
install(FILES resources/GammaRay-16x16.png DESTINATION share/icons/hicolor/16x16/apps RENAME GammaRay.png)
install(FILES resources/GammaRay-32x32.png DESTINATION share/icons/hicolor/32x32/apps RENAME GammaRay.png)
install(FILES resources/GammaRay-48x48.png DESTINATION share/icons/hicolor/48x48/apps RENAME GammaRay.png)
install(FILES resources/GammaRay-128x128.png DESTINATION share/icons/hicolor/128x128/apps RENAME GammaRay.png)
install(FILES resources/GammaRay-256x256.png DESTINATION share/icons/hicolor/256x256/apps RENAME GammaRay.png)
install(FILES resources/GammaRay-512x512.png DESTINATION share/icons/hicolor/512x512/apps RENAME GammaRay.png)
endif()

set(LICENSE_FILE "License.txt")
Expand Down
2 changes: 1 addition & 1 deletion GammaRay.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Comment[x-test]=xxQt-application inspection and manipulation toolxx
GenericName=Qt Inspection Tool
GenericName[x-test]=xxQt Inspection Toolxx
Exec=gammaray
Icon=GammaRay-128x128
Icon=GammaRay
Type=Application
Categories=Qt;Development;
X-KDE-StartupNotify=true

0 comments on commit 49d44b7

Please sign in to comment.