Commit 17fea10b authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Rename icon according to Flatpak convention

Flatpak prefers the app icon to be named after the app id, so itinerary
becomes org.kde.itinerary

Also move from 48 to scalable
parent f2416869
......@@ -194,7 +194,7 @@ if (TARGET KF5::Crash)
endif()
install(TARGETS itinerary-app ${INSTALL_TARGETS_DEFAULT_ARGS})
ecm_install_icons(ICONS 48-apps-itinerary.svg DESTINATION ${KDE_INSTALL_ICONDIR})
ecm_install_icons(ICONS sc-apps-org.kde.itinerary.svg DESTINATION ${KDE_INSTALL_ICONDIR})
if (NOT ANDROID)
install(PROGRAMS org.kde.itinerary.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.itinerary.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
......
[Global]
IconName=itinerary
IconName=org.kde.itinerary
DesktopEntry=org.kde.itinerary
Name=KDE Itinerary
Name[ca]=KDE Itinerary
......
......@@ -220,7 +220,7 @@ int main(int argc, char **argv)
}
#endif
QGuiApplication::setApplicationDisplayName(i18n("KDE Itinerary"));
QGuiApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("itinerary")));
QGuiApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("org.kde.itinerary")));
auto aboutData = KAboutData::applicationData();
aboutData.setProductName("KDE Itinerary/general"); // Bugzilla product/component name
......
......@@ -50,7 +50,7 @@ GenericName[uk]=Керування маршрутом
GenericName[x-test]=xxItinerary managementxx
GenericName[zh_CN]=行程管理应用
Exec=itinerary %f
Icon=itinerary
Icon=org.kde.itinerary
Type=Application
Comment=Travel assistance application.
Comment[ca]=Aplicació per a l'assistència en viatge.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment