Commit 92311963 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Add proper desktop file for importer

This is needed to properly indentify the application and e.g. display the right icon in the task manager

The desktop file has NoDisplay=true since we don't want people launching the importer from the start menu

BUG: 446290
parent 8baa7f2d
Pipeline #120826 passed with stage
in 6 minutes and 12 seconds
......@@ -59,3 +59,5 @@ install(TARGETS gwenview_importer
install(FILES gwenview_importer.desktop
gwenview_importer_camera.desktop
DESTINATION ${KDE_INSTALL_DATADIR}/solid/actions/)
install(FILES org.kde.gwenview_importer.desktop DESTINATION ${KDE_INSTALL_APPDIR})
......@@ -40,7 +40,7 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QScopedPointer<KAboutData> aboutData(Gwenview::createAboutData(QStringLiteral("org.kde.gwenview"), /* component name */
QScopedPointer<KAboutData> aboutData(Gwenview::createAboutData(QStringLiteral("gwenview_importer"), /* component name */
i18n("Gwenview Importer") /* programName */
));
aboutData->setShortDescription(i18n("Photo Importer"));
......
[Desktop Entry]
Name=Gwenview Importer
Exec=gwenview_importer %u
Icon=gwenview
Type=Application
X-DocPath=gwenview/importer.html
NoDisplay=true
StartupWMClass=gwenview
Markdown is supported
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