Skip to content

Commit

Permalink
use scalable icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Vorotnikov committed Jan 24, 2014
1 parent 59e0467 commit 520026f
Show file tree
Hide file tree
Showing 21 changed files with 64 additions and 216 deletions.
7 changes: 4 additions & 3 deletions src/CMakeLists.txt
Expand Up @@ -138,9 +138,9 @@ ELSE( ${CMAKE_SYSTEM_NAME} MATCHES Darwin )
IF( NOT PIXMAPS_ENTRY_PATH )
SET( PIXMAPS_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor )
ENDIF( NOT PIXMAPS_ENTRY_PATH )
# IF( NOT PIXMAPS_UNITY_ENTRY_PATH )
# SET( PIXMAPS_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/ubuntu-mono-dark )
# ENDIF( NOT PIXMAPS_UNITY_ENTRY_PATH )
IF( NOT PIXMAPS_UNITY_ENTRY_PATH )
SET( PIXMAPS_UNITY_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/ubuntu-mono-dark )
ENDIF( NOT PIXMAPS_UNITY_ENTRY_PATH )
IF( NOT MANPAGE_ENTRY_PATH )
SET( MANPAGE_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/man )
ENDIF( NOT MANPAGE_ENTRY_PATH )
Expand Down Expand Up @@ -198,6 +198,7 @@ IF( RELEASE )
MESSAGE(STATUS "CMAKE_INSTALL_PREFIX : ${CMAKE_INSTALL_PREFIX}")
MESSAGE(STATUS "DESKTOP_ENTRY_PATH : ${DESKTOP_ENTRY_PATH}")
MESSAGE(STATUS "PIXMAPS_ENTRY_PATH : ${PIXMAPS_ENTRY_PATH}")
MESSAGE(STATUS "PIXMAPS_UNITY_ENTRY_PATH : ${PIXMAPS_UNITY_ENTRY_PATH}")
MESSAGE(STATUS "MANPAGE_ENTRY_PATH : ${MANPAGE_ENTRY_PATH}")
MESSAGE(STATUS "LIBS_ENTRY_PATH : ${LIBS_ENTRY_PATH}\n")
ELSE ( RELEASE )
Expand Down
8 changes: 1 addition & 7 deletions src/icons/CMakeLists.txt
Expand Up @@ -9,15 +9,9 @@ IF( ${CMAKE_SYSTEM_NAME} MATCHES Darwin )
install(FILES ${DESKTOP_PLIST} DESTINATION ${CMAKE_INSTALL_PREFIX}/${APP_NAME_GLOBAL}.app/Contents)
ENDIF( RELEASE )
ELSE( ${CMAKE_SYSTEM_NAME} MATCHES Darwin )
foreach (SIZE 256 192 128 96 64 48 32 22 16)
SET( DESKTOP_PIXMAPS
${CMAKE_SOURCE_DIR}/src/icons/q4wine-${SIZE}x${SIZE}.png )
IF( RELEASE )
install(FILES ${DESKTOP_PIXMAPS} DESTINATION ${PIXMAPS_ENTRY_PATH}/${SIZE}x${SIZE}/apps RENAME q4wine.png)
ENDIF( RELEASE )
endforeach()
IF( RELEASE )
install(FILES q4wine.svg DESTINATION ${PIXMAPS_ENTRY_PATH}/scalable/apps)
install(FILES q4wine-ambiance.svg DESTINATION ${PIXMAPS_UNITY_ENTRY_PATH}/scalable/apps RENAME q4wine.svg)
ENDIF( RELEASE )
ENDIF( ${CMAKE_SYSTEM_NAME} MATCHES Darwin )

Binary file removed src/icons/q4wine-128x128.ico
Binary file not shown.
Binary file removed src/icons/q4wine-128x128.png
Binary file not shown.
Binary file removed src/icons/q4wine-16x16.png
Binary file not shown.
Binary file removed src/icons/q4wine-192x192.png
Binary file not shown.
Binary file removed src/icons/q4wine-22x22.png
Binary file not shown.
Binary file removed src/icons/q4wine-256x256.png
Binary file not shown.
Binary file removed src/icons/q4wine-32x32.png
Binary file not shown.
Binary file removed src/icons/q4wine-350x350.ico
Binary file not shown.
Binary file removed src/icons/q4wine-350x350.png
Binary file not shown.
Binary file removed src/icons/q4wine-350x350.xcf
Binary file not shown.
Binary file removed src/icons/q4wine-48x48.ico
Binary file not shown.
Binary file removed src/icons/q4wine-48x48.png
Binary file not shown.
Binary file removed src/icons/q4wine-48x48.xcf
Binary file not shown.
Binary file removed src/icons/q4wine-64x64.png
Binary file not shown.
Binary file removed src/icons/q4wine-96x96.png
Binary file not shown.
26 changes: 26 additions & 0 deletions src/icons/q4wine-ambiance.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 0 additions & 84 deletions src/icons/q4wine-unity-dark.svg

This file was deleted.

Binary file removed src/icons/q4wine.png
Binary file not shown.
155 changes: 33 additions & 122 deletions src/icons/q4wine.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 520026f

Please sign in to comment.