Skip to content

Commit

Permalink
Switchted mime icons from hicolor to Humanity theme (eclipse-ecal#835)
Browse files Browse the repository at this point in the history
Looks like Ubuntu 22.04 has a bug (?) that prevents loading Mime icons from the hicolor theme. The Humanity theme works though. The default Yaru theme inherits from both, so I moved the icons to the Humanity theme and now they show up fine.

Application icons from the hicolor theme work as well.
  • Loading branch information
FlorianReimold authored Oct 14, 2022
1 parent 0e349d2 commit 9b23557
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/play/play_gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,5 @@ if (UNIX)
DESTINATION "${CMAKE_INSTALL_DATADIR}/mime/packages/")

INSTALL (FILES "${CMAKE_CURRENT_LIST_DIR}/mimetype/application-ecalmeas.svg"
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/mimetypes/")
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/Humanity/scalable/mimetypes/")
endif()
2 changes: 1 addition & 1 deletion app/rec/rec_gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,5 +262,5 @@ if (UNIX)
DESTINATION "${CMAKE_INSTALL_DATADIR}/mime/packages/")

INSTALL (FILES "${CMAKE_CURRENT_LIST_DIR}/mimetype/application-ecalrec.svg"
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/mimetypes/")
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/Humanity/scalable/mimetypes/")
endif()
2 changes: 1 addition & 1 deletion app/sys/sys_gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ if (UNIX)
DESTINATION "${CMAKE_INSTALL_DATADIR}/mime/packages/")

INSTALL (FILES "${CMAKE_CURRENT_LIST_DIR}/mimetype/application-ecalsys.svg"
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/mimetypes/")
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/Humanity/scalable/mimetypes/")
endif()

ecal_install_app(${PROJECT_NAME} START_MENU_NAME "eCAL Sys")

0 comments on commit 9b23557

Please sign in to comment.