Skip to content

Commit

Permalink
Use dbus/XDG/flatpak/etc. convention for icon naming too (on unix)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Oct 31, 2024
1 parent c429a35 commit 9ea2169
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion avogadro/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ elseif(UNIX)
install(FILES "icons/org.openchemistry.Avogadro2.desktop" DESTINATION "${INSTALL_XDG_APPS_DIR}")
install(FILES "icons/org.openchemistry.Avogadro2.metainfo.xml" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/metainfo")
install(FILES "icons/avogadro.png" DESTINATION "${INSTALL_XDG_ICON_DIR}"
RENAME "avogadro2.png")
RENAME "org.openchemistry.Avogadro2.png")
elseif(WIN32)
list(APPEND avogadro_srcs icons/avogadro.rc)
endif()
Expand Down
4 changes: 2 additions & 2 deletions avogadro/icons/org.openchemistry.Avogadro2.desktop
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Desktop Entry]
Version=1.0
Name=Avogadro2
Name=Avogadro
Comment=Advanced molecular editor
Comment[hu]=Fejlett molekuláris szerkesztő
Exec=avogadro2 %f
Icon=avogadro2
Icon=org.openchemistry.Avogadro2
Terminal=false
Type=Application
Categories=Qt;Science;Chemistry;Physics;Education;
Expand Down

0 comments on commit 9ea2169

Please sign in to comment.